diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-10-27 01:26:31 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-10-27 13:25:57 +0100 |
commit | 15a5e95075a7f6007dd97b2a165c8ed16fe683df (patch) | |
tree | da7259ad54e2009c45a10ff4e0acad4160eed3be /src/basic/util.h | |
parent | c7f1808add4d971229ba5311cf66e659122aa338 (diff) |
util-lib: split out printf() helpers to stdio-util.h
Diffstat (limited to 'src/basic/util.h')
-rw-r--r-- | src/basic/util.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/basic/util.h b/src/basic/util.h index fc73e13fe4..95c7c75b9c 100644 --- a/src/basic/util.h +++ b/src/basic/util.h @@ -85,10 +85,6 @@ static inline const char* one_zero(bool b) { bool fstype_is_network(const char *fstype); -#define xsprintf(buf, fmt, ...) \ - assert_message_se((size_t) snprintf(buf, ELEMENTSOF(buf), fmt, __VA_ARGS__) < ELEMENTSOF(buf), \ - "xsprintf: " #buf "[] must be big enough") - noreturn void freeze(void); void execute_directories(const char* const* directories, usec_t timeout, char *argv[]); |