X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fbasic%2Fparse-util.h;h=43f23500f15de1e90d2dbc6008803f7de2575850;hp=7dac7670d05a072f4bb4915b8fa7e8b675275eb9;hb=6917418372a990fbfe9a39864ccefacb37c70cc8;hpb=2705eaf36d46539397571886ba6ccd0045ef3e9b diff --git a/src/basic/parse-util.h b/src/basic/parse-util.h index 7dac7670d..43f23500f 100644 --- a/src/basic/parse-util.h +++ b/src/basic/parse-util.h @@ -34,10 +34,14 @@ int parse_mode(const char *s, mode_t *ret); int parse_ifindex(const char *s, int *ret); int parse_size(const char *t, uint64_t base, uint64_t *size); -// UNNEEDED int parse_range(const char *t, unsigned *lower, unsigned *upper); -// UNNEEDED #define FORMAT_BYTES_MAX 8 -// UNNEEDED char *format_bytes(char *buf, size_t l, uint64_t t); +/// UNNEEDED by elogind +#if 0 +int parse_range(const char *t, unsigned *lower, unsigned *upper); + +#define FORMAT_BYTES_MAX 8 +char *format_bytes(char *buf, size_t l, uint64_t t); +#endif // 0 int safe_atou(const char *s, unsigned *ret_u); int safe_atoi(const char *s, int *ret_i);