projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6255c4c
)
fix missing va_list for vsyslog
author
Rich Felker
<dalias@aerifal.cx>
Sun, 13 May 2012 02:18:34 +0000
(22:18 -0400)
committer
Rich Felker
<dalias@aerifal.cx>
Sun, 13 May 2012 02:18:34 +0000
(22:18 -0400)
include/syslog.h
patch
|
blob
|
history
diff --git
a/include/syslog.h
b/include/syslog.h
index d7668d35f2eafc63a9f709161470578595c6732a..e0d86c0d33466b7f08714290df6155d68cb77dbd 100644
(file)
--- 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 {