summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
Diffstat (limited to 'misc')
-rw-r--r--misc/bits/syslog-ldbl.h4
-rw-r--r--misc/bits/syslog.h2
-rw-r--r--misc/search.h2
-rw-r--r--misc/sys/mman.h2
-rw-r--r--misc/sys/syslog.h2
-rw-r--r--misc/sys/uio.h2
6 files changed, 7 insertions, 7 deletions
diff --git a/misc/bits/syslog-ldbl.h b/misc/bits/syslog-ldbl.h
index 989978d94d..5b413d8c32 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 a5c693a134..90908b6f9a 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)));
diff --git a/misc/search.h b/misc/search.h
index e09790c832..b84d2a81be 100644
--- a/misc/search.h
+++ b/misc/search.h
@@ -26,7 +26,7 @@
__BEGIN_DECLS
-#if defined __USE_SVID || defined __USE_XOPEN_EXTENDED
+#if defined __USE_MISC || defined __USE_XOPEN_EXTENDED
/* Prototype structure for a linked-list data structure.
This is the type used by the `insque' and `remque' functions. */
diff --git a/misc/sys/mman.h b/misc/sys/mman.h
index 5a3be79b3c..08f221f840 100644
--- a/misc/sys/mman.h
+++ b/misc/sys/mman.h
@@ -88,7 +88,7 @@ extern int mprotect (void *__addr, size_t __len, int __prot) __THROW;
__THROW. */
extern int msync (void *__addr, size_t __len, int __flags);
-#ifdef __USE_BSD
+#ifdef __USE_MISC
/* Advise the system about particular usage patterns the program follows
for the region starting at ADDR and extending LEN bytes. */
extern int madvise (void *__addr, size_t __len, int __advice) __THROW;
diff --git a/misc/sys/syslog.h b/misc/sys/syslog.h
index 41331a8fd1..ee01478c4b 100644
--- a/misc/sys/syslog.h
+++ b/misc/sys/syslog.h
@@ -190,7 +190,7 @@ extern int setlogmask (int __mask) __THROW;
extern void syslog (int __pri, const char *__fmt, ...)
__attribute__ ((__format__ (__printf__, 2, 3)));
-#ifdef __USE_BSD
+#ifdef __USE_MISC
/* Generate a log message using FMT and using arguments pointed to by AP.
This function is not part of POSIX and therefore no official
diff --git a/misc/sys/uio.h b/misc/sys/uio.h
index 183ea9de49..cabeaf5ce4 100644
--- a/misc/sys/uio.h
+++ b/misc/sys/uio.h
@@ -51,7 +51,7 @@ extern ssize_t writev (int __fd, const struct iovec *__iovec, int __count)
__wur;
-#ifdef __USE_BSD
+#ifdef __USE_MISC
# ifndef __USE_FILE_OFFSET64
/* Read data from file descriptor FD at the given position OFFSET
without change the file pointer, and put the result in the buffers