aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-10-27 01:26:31 +0100
committerLennart Poettering <lennart@poettering.net>2015-10-27 13:25:57 +0100
commit15a5e95075a7f6007dd97b2a165c8ed16fe683df (patch)
treeda7259ad54e2009c45a10ff4e0acad4160eed3be /src/basic/util.h
parentmacro.h: move definition of MODE_INVALID to parse-util.h (diff)
downloadsystemd-15a5e95075a7f6007dd97b2a165c8ed16fe683df.tar.gz
systemd-15a5e95075a7f6007dd97b2a165c8ed16fe683df.tar.bz2
systemd-15a5e95075a7f6007dd97b2a165c8ed16fe683df.zip
util-lib: split out printf() helpers to stdio-util.h
Diffstat (limited to 'src/basic/util.h')
-rw-r--r--src/basic/util.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/basic/util.h b/src/basic/util.h
index fc73e13fe..95c7c75b9 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[]);