From e5a680c14ef3eb7d14663ecb7ea5b4d3a4f44875 Mon Sep 17 00:00:00 2001 From: drepper Date: Mon, 22 Dec 1997 18:40:18 +0000 Subject: [PATCH] Don't declare BSD string functions in POSIX mode. --- string/string.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/string/string.h b/string/string.h index 2b4d6b9545..3e978520a7 100644 --- a/string/string.h +++ b/string/string.h @@ -213,7 +213,8 @@ extern char *strerror_r __P ((int __errnum, char *__buf, size_t __buflen)); the namespace rules does not allow this. */ extern void __bzero __P ((__ptr_t __s, size_t __n)); -#if defined __USE_BSD || defined __USE_XOPEN_EXTENDED +#if defined __USE_BSD || (defined __USE_XOPEN_EXTENDED \ + && (_POSIX_C_SOURCE - 0) < 199506L) /* Copy N bytes of SRC to DEST (like memmove, but args reversed). */ extern void bcopy __P ((__const __ptr_t __src, __ptr_t __dest, size_t __n)); -- 2.11.0