From: Rich Felker Date: Sun, 13 May 2012 02:18:34 +0000 (-0400) Subject: fix missing va_list for vsyslog X-Git-Tag: v0.9.1~57 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c3dbe9b22c93c187d806f5def44da5b47744923c;p=oweals%2Fmusl.git fix missing va_list for vsyslog --- 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 +void vsyslog (int, const char *, va_list); +#if defined(SYSLOG_NAMES) #define INTERNAL_NOPRI 0x10 #define INTERNAL_MARK (LOG_NFACILITIES<<3) struct __CODE {