diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-11-03 12:26:12 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-11-03 17:45:11 +0100 |
commit | a0f29c767a3bb3d621c658fa5b87063e1f44e24a (patch) | |
tree | 4d56b28633fc5349826ca4cb90049f3854b4cdd7 /src/basic/macro.h | |
parent | b11d6a7bed4d867fb9f6ff4e7eb4ab20fcdc9301 (diff) |
util-lib: move CONF_DIRS_NULSTR definition to def.h
After all, this is not some compiler or C magic, but something very
specific to how systemd works, hence let's move it into def.h, and out
of macro.h
Diffstat (limited to 'src/basic/macro.h')
-rw-r--r-- | src/basic/macro.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/basic/macro.h b/src/basic/macro.h index daa7c416f7..5088e6720d 100644 --- a/src/basic/macro.h +++ b/src/basic/macro.h @@ -334,21 +334,6 @@ static inline unsigned long ALIGN_POWER2(unsigned long u) { _found; \ }) -/* Return a nulstr for a standard cascade of configuration directories, - * suitable to pass to conf_files_list_nulstr or config_parse_many. */ -#define CONF_DIRS_NULSTR(n) \ - "/etc/" n ".d\0" \ - "/run/" n ".d\0" \ - "/usr/local/lib/" n ".d\0" \ - "/usr/lib/" n ".d\0" \ - CONF_DIR_SPLIT_USR(n) - -#ifdef HAVE_SPLIT_USR -#define CONF_DIR_SPLIT_USR(n) "/lib/" n ".d\0" -#else -#define CONF_DIR_SPLIT_USR(n) -#endif - /* Define C11 thread_local attribute even on older gcc compiler * version */ #ifndef thread_local |