summaryrefslogtreecommitdiff
path: root/tools-util.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools-util.h')
-rw-r--r--tools-util.h14
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 *);