diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2019-06-17 16:08:24 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2019-06-19 23:15:19 +0900 |
commit | aa89266900cbc7f9a89cf8480d1178855524af60 (patch) | |
tree | 85fa83b182fa8adbc29573135362115c61524743 /src/basic/parse-util.h | |
parent | 33a8695fdcdd1c85878287a46bb7b77184f5db8b (diff) | |
download | systemd-aa89266900cbc7f9a89cf8480d1178855524af60.tar.gz |
util: introduce format_bytes_full()
And move it into format-util.c.
Diffstat (limited to 'src/basic/parse-util.h')
-rw-r--r-- | src/basic/parse-util.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/basic/parse-util.h b/src/basic/parse-util.h index 5a05dfeac5..3a70b79276 100644 --- a/src/basic/parse-util.h +++ b/src/basic/parse-util.h @@ -22,9 +22,6 @@ int parse_range(const char *t, unsigned *lower, unsigned *upper); int parse_errno(const char *t); int parse_syscall_and_errno(const char *in, char **name, int *error); -#define FORMAT_BYTES_MAX 8 -char *format_bytes(char *buf, size_t l, uint64_t t); - int safe_atou_full(const char *s, unsigned base, unsigned *ret_u); static inline int safe_atou(const char *s, unsigned *ret_u) { |