summaryrefslogtreecommitdiff
path: root/include/string.h
diff options
context:
space:
mode:
authorjtc <jtc@NetBSD.org>1993-10-11 18:43:45 +0000
committerjtc <jtc@NetBSD.org>1993-10-11 18:43:45 +0000
commit847ee7d5b1d125292a756a6ccbc5b08cb4fdac15 (patch)
treecba421c13848e05316b9466095966ffbe721b431 /include/string.h
parent9770032514030cb43dadbe37fb066fa6da3f3f99 (diff)
Changed preprocessor conditional so non-standard functions would not be
declared in a _POSIX_SOURCE environment.
Diffstat (limited to 'include/string.h')
-rw-r--r--include/string.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/string.h b/include/string.h
index 2e3fe20b5a6..630dc7c4803 100644
--- a/include/string.h
+++ b/include/string.h
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* from: @(#)string.h 5.10 (Berkeley) 3/9/91
- * $Id: string.h,v 1.2 1993/08/01 18:45:15 mycroft Exp $
+ * $Id: string.h,v 1.3 1993/10/11 18:43:45 jtc Exp $
*/
#ifndef _STRING_H_
@@ -74,7 +74,7 @@ char *strtok __P((char *, const char *));
size_t strxfrm __P((char *, const char *, size_t));
/* Nonstandard routines */
-#ifndef _ANSI_SOURCE
+#if !defined(_ANSI_SOURCE) && !defined(_POSIX_SOURCE)
int bcmp __P((const void *, const void *, size_t));
void bcopy __P((const void *, void *, size_t));
void bzero __P((void *, size_t));