diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2022-02-22 04:55:39 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@gmail.com> | 2022-02-22 04:56:09 -0500 |
commit | 5528e3ae62ead1cfd5be36c1712d1a2dd5ccb3af (patch) | |
tree | 1f83918fd37fd1b3387ad194bde6748652d6e35f /tools-util.h | |
parent | c06026ac542911329a99a3f02a4f5732d6c8e51c (diff) |
Update bcachefs sources to 9b3aa5ec6c bcachefs: Add tabstops to printbufs
Diffstat (limited to 'tools-util.h')
-rw-r--r-- | tools-util.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/tools-util.h b/tools-util.h index 9468f070..78827b84 100644 --- a/tools-util.h +++ b/tools-util.h @@ -55,20 +55,6 @@ struct stat xstat(const char *); int printf_pad(unsigned pad, const char * fmt, ...); -enum units { - BYTES, - SECTORS, - HUMAN_READABLE, -}; - -struct units_buf __pr_units(s64, enum units); - -struct units_buf { - char b[20]; -}; - -#define pr_units(_v, _u) &(__pr_units(_v, _u).b[0]) - char *read_file_str(int, const char *); u64 read_file_u64(int, const char *); |