diff options
author | Rich Felker <dalias@aerifal.cx> | 2012-05-12 22:18:34 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2012-05-12 22:18:34 -0400 |
commit | c3dbe9b22c93c187d806f5def44da5b47744923c (patch) | |
tree | 1e2e3b9213082a9fd2c5ae2feccb1241b8757e96 /include | |
parent | 6255c4c6a5599724d18311a7776aebe67f8e6d4a (diff) | |
download | musl-c3dbe9b22c93c187d806f5def44da5b47744923c.tar.gz musl-c3dbe9b22c93c187d806f5def44da5b47744923c.tar.xz musl-c3dbe9b22c93c187d806f5def44da5b47744923c.zip |
fix missing va_list for vsyslog
Diffstat (limited to 'include')
-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 d7668d35..e0d86c0d 100644 --- a/include/syslog.h +++ b/include/syslog.h @@ -60,10 +60,10 @@ int setlogmask (int); void syslog (int, const char *, ...); #if defined(_GNU_SOURCE) -void vsyslog (int, const char *, va_list); -#if defined(SYSLOG_NAMES) #define __NEED_va_list #include <bits/alltypes.h> +void vsyslog (int, const char *, va_list); +#if defined(SYSLOG_NAMES) #define INTERNAL_NOPRI 0x10 #define INTERNAL_MARK (LOG_NFACILITIES<<3) struct __CODE { |