summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorandre <andre@FreeBSD.org>2005-08-25 19:46:38 +0000
committerandre <andre@FreeBSD.org>2005-08-25 19:46:38 +0000
commit3f84f7bca11fe11f6d238c2f4a0cb2d0bfa91b1d (patch)
treec87966fdd2a8212bc7790a70c597781fd06e9b86 /include
parent45fd598f4942e0ea7d9bb2098d535eb046cfc00c (diff)
downloadFreeBSD-src-3f84f7bca11fe11f6d238c2f4a0cb2d0bfa91b1d.zip
FreeBSD-src-3f84f7bca11fe11f6d238c2f4a0cb2d0bfa91b1d.tar.gz
Appropriate namespace protection for memmem(3).
Submitted by: wollman MFC after: 3 days
Diffstat (limited to 'include')
-rw-r--r--include/string.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/string.h b/include/string.h
index fb373c8..f0dc218 100644
--- a/include/string.h
+++ b/include/string.h
@@ -61,7 +61,9 @@ void *memccpy(void * __restrict, const void * __restrict, int, size_t);
void *memchr(const void *, int, size_t) __pure;
int memcmp(const void *, const void *, size_t) __pure;
void *memcpy(void * __restrict, const void * __restrict, size_t);
+#if __BSD_VISIBLE
void *memmem(const void *, size_t, const void *, size_t);
+#endif
void *memmove(void *, const void *, size_t);
void *memset(void *, int, size_t);
#if __BSD_VISIBLE
OpenPOWER on IntegriCloud