mirror of
https://github.com/fluencelabs/musl
synced 2025-04-27 08:02:16 +00:00
fix missing va_list for vsyslog
This commit is contained in:
parent
6255c4c6a5
commit
c3dbe9b22c
@ -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 {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user