提交 c3dbe9b2 编写于 作者: R Rich Felker

fix missing va_list for vsyslog

上级 6255c4c6
...@@ -60,10 +60,10 @@ int setlogmask (int); ...@@ -60,10 +60,10 @@ int setlogmask (int);
void syslog (int, const char *, ...); void syslog (int, const char *, ...);
#if defined(_GNU_SOURCE) #if defined(_GNU_SOURCE)
void vsyslog (int, const char *, va_list);
#if defined(SYSLOG_NAMES)
#define __NEED_va_list #define __NEED_va_list
#include <bits/alltypes.h> #include <bits/alltypes.h>
void vsyslog (int, const char *, va_list);
#if defined(SYSLOG_NAMES)
#define INTERNAL_NOPRI 0x10 #define INTERNAL_NOPRI 0x10
#define INTERNAL_MARK (LOG_NFACILITIES<<3) #define INTERNAL_MARK (LOG_NFACILITIES<<3)
struct __CODE { struct __CODE {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册