aboutsummaryrefslogtreecommitdiff
path: root/misc/bits
diff options
context:
space:
mode:
Diffstat (limited to 'misc/bits')
-rw-r--r--misc/bits/syslog-ldbl.h4
-rw-r--r--misc/bits/syslog.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/misc/bits/syslog-ldbl.h b/misc/bits/syslog-ldbl.h
index 989978d..5b413d8 100644
--- a/misc/bits/syslog-ldbl.h
+++ b/misc/bits/syslog-ldbl.h
@@ -22,14 +22,14 @@
__LDBL_REDIR_DECL (syslog)
-#ifdef __USE_BSD
+#ifdef __USE_MISC
__LDBL_REDIR_DECL (vsyslog)
#endif
#if __USE_FORTIFY_LEVEL > 0 && defined __fortify_function
__LDBL_REDIR_DECL (__syslog_chk)
-# ifdef __USE_BSD
+# ifdef __USE_MISC
__LDBL_REDIR_DECL (__vsyslog_chk)
# endif
#endif
diff --git a/misc/bits/syslog.h b/misc/bits/syslog.h
index a5c693a..90908b6 100644
--- a/misc/bits/syslog.h
+++ b/misc/bits/syslog.h
@@ -36,7 +36,7 @@ syslog (int __pri, const char *__fmt, ...)
#endif
-#ifdef __USE_BSD
+#ifdef __USE_MISC
extern void __vsyslog_chk (int __pri, int __flag, const char *__fmt,
__gnuc_va_list __ap)
__attribute__ ((__format__ (__printf__, 3, 0)));