summaryrefslogtreecommitdiff
path: root/include/string.h
diff options
context:
space:
mode:
authorkleink <kleink@NetBSD.org>2004-07-12 23:35:14 +0000
committerkleink <kleink@NetBSD.org>2004-07-12 23:35:14 +0000
commitcceefa7be9d71abacc54a0d568a1d8e8ec837486 (patch)
tree2eca3bfd28dd679b4d7cdad9c37821f17c72856b /include/string.h
parentccaa2ac97b43a712bf2b661e417d07a97e995d1e (diff)
Move the strcasestr() prototype to the local extensions section.
Also __P() it; this should be consistent within a single header.
Diffstat (limited to 'include/string.h')
-rw-r--r--include/string.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/string.h b/include/string.h
index 2ed04177622..56ae6910817 100644
--- a/include/string.h
+++ b/include/string.h
@@ -1,4 +1,4 @@
-/* $NetBSD: string.h,v 1.26 2004/07/03 08:27:25 junyoung Exp $ */
+/* $NetBSD: string.h,v 1.27 2004/07/12 23:35:14 kleink Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -51,9 +51,6 @@ int memcmp __P((const void *, const void *, size_t));
void *memcpy __P((void * __restrict, const void * __restrict, size_t));
void *memmove __P((void *, const void *, size_t));
void *memset __P((void *, int, size_t));
-#if defined(_NETBSD_SOURCE)
-char *strcasestr(const char *, const char *);
-#endif
char *strcat __P((char * __restrict, const char * __restrict));
char *strchr __P((const char *, int));
int strcmp __P((const char *, const char *));
@@ -83,6 +80,7 @@ char *strdup __P((const char *));
#if defined(_NETBSD_SOURCE)
#include <strings.h> /* for backwards-compatibilty */
+char *strcasestr __P((const char *, const char *));
size_t strlcat __P((char *, const char *, size_t));
size_t strlcpy __P((char *, const char *, size_t));
char *strsep __P((char **, const char *));