From dcdae19a3f8eafb7aa597b1d5cb770db76509ec4 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Fri, 2 Nov 2012 15:41:37 +0000 Subject: [PATCH] Test _ISOMAC in include/sys/syslog.h. --- ChangeLog | 5 +++++ include/sys/syslog.h | 2 ++ 2 files changed, 7 insertions(+) diff --git a/ChangeLog b/ChangeLog index 0600968d6a..5dad3dc1f2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2012-11-02 Joseph Myers + + * include/sys/syslog.h [_ISOMAC]: Disable all contents of file + except include of . + 2012-11-01 Andreas Schwab * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the diff --git a/include/sys/syslog.h b/include/sys/syslog.h index c08cfcd1fa..3be3189ed1 100644 --- a/include/sys/syslog.h +++ b/include/sys/syslog.h @@ -1,5 +1,6 @@ #include +#ifndef _ISOMAC libc_hidden_proto (syslog) libc_hidden_proto (vsyslog) @@ -7,3 +8,4 @@ extern void __vsyslog_chk (int __pri, int __flag, const char *__fmt, __gnuc_va_list __ap) __attribute__ ((__format__ (__printf__, 3, 0))); libc_hidden_proto (__vsyslog_chk) +#endif