diff options
author | Szabolcs Nagy <nsz@port70.net> | 2013-11-24 00:34:07 +0000 |
---|---|---|
committer | Szabolcs Nagy <nsz@port70.net> | 2013-11-24 00:34:07 +0000 |
commit | 10c8b7148b918938d8e681c5801b913dd56cb7e4 (patch) | |
tree | ee88aa193d03e962cc8ed46369fee97f5869ad9f /include/syslog.h | |
parent | f7d348ec39ce31efdc4963eb4a8f16f48e5ef095 (diff) | |
download | musl-10c8b7148b918938d8e681c5801b913dd56cb7e4.tar.gz musl-10c8b7148b918938d8e681c5801b913dd56cb7e4.tar.bz2 musl-10c8b7148b918938d8e681c5801b913dd56cb7e4.tar.xz musl-10c8b7148b918938d8e681c5801b913dd56cb7e4.zip |
use 0 instead of NULL in headers where NULL is not defined
some macros in sys/mtio.h and syslog.h used NULL without defining it
Diffstat (limited to 'include/syslog.h')
-rw-r--r-- | include/syslog.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/syslog.h b/include/syslog.h index a9468d4d..f7f545f7 100644 --- a/include/syslog.h +++ b/include/syslog.h @@ -82,7 +82,7 @@ typedef struct { { "emerg", LOG_EMERG }, { "err", LOG_ERR }, { "error", LOG_ERR }, \ { "info", LOG_INFO }, { "none", INTERNAL_NOPRI }, \ { "notice", LOG_NOTICE }, { "panic", LOG_EMERG }, \ - { "warn", LOG_WARNING }, { "warning", LOG_WARNING }, { NULL, -1 } }) + { "warn", LOG_WARNING }, { "warning", LOG_WARNING }, { 0, -1 } }) #define facilitynames ((CODE *)(const struct __CODE []){ \ { "auth", LOG_AUTH }, { "authpriv", LOG_AUTHPRIV }, \ { "cron", LOG_CRON }, { "daemon", LOG_DAEMON }, { "ftp", LOG_FTP }, \ @@ -93,7 +93,7 @@ typedef struct { { "local0", LOG_LOCAL0 }, { "local1", LOG_LOCAL1 }, \ { "local2", LOG_LOCAL2 }, { "local3", LOG_LOCAL3 }, \ { "local4", LOG_LOCAL4 }, { "local5", LOG_LOCAL5 }, \ - { "local6", LOG_LOCAL6 }, { "local7", LOG_LOCAL7 }, { NULL, -1 } }) + { "local6", LOG_LOCAL6 }, { "local7", LOG_LOCAL7 }, { 0, -1 } }) #endif #endif |