mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-27 03:41:23 +08:00
ba745eff46
This allows to include bits/syslog-decl.h in include/sys/syslog.h and therefore be able to create the libc_hidden_builtin_proto (__syslog_chk) prototype. Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
21 lines
534 B
C
21 lines
534 B
C
#ifndef _LIBC_SYS_SYSLOG_H
|
|
#define _LIBC_SYS_SYSLOG_H 1
|
|
#include <misc/sys/syslog.h>
|
|
#ifndef _ISOMAC
|
|
|
|
#include <bits/syslog-decl.h>
|
|
|
|
libc_hidden_ldbl_proto (syslog)
|
|
|
|
/* __vsyslog_internal uses the same mode_flags bits as
|
|
__v*printf_internal; see libio/libioP.h. */
|
|
extern void __vsyslog_internal (int pri, const char *fmt, __gnuc_va_list ap,
|
|
unsigned int mode_flags)
|
|
attribute_hidden
|
|
__attribute__ ((__format__ (__printf__, 2, 0)));
|
|
|
|
libc_hidden_ldbl_proto (__syslog_chk)
|
|
|
|
#endif /* _ISOMAC */
|
|
#endif /* syslog.h */
|