diff options
author | das <das@FreeBSD.org> | 2009-02-28 05:08:35 +0000 |
---|---|---|
committer | das <das@FreeBSD.org> | 2009-02-28 05:08:35 +0000 |
commit | d6bc3f67e875e9575c6f759df2a0b47a8996ca68 (patch) | |
tree | 88aed1c396678cc0403d34b1ea10860ad0af7ace | |
parent | 8f720cc6670287f3dc8e001fd7373042cb85e875 (diff) | |
download | FreeBSD-src-d6bc3f67e875e9575c6f759df2a0b47a8996ca68.zip FreeBSD-src-d6bc3f67e875e9575c6f759df2a0b47a8996ca68.tar.gz |
Mark memmem() __pure.
-rw-r--r-- | include/string.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/string.h b/include/string.h index 4770d10..75e8558 100644 --- a/include/string.h +++ b/include/string.h @@ -63,7 +63,7 @@ void *memrchr(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); +void *memmem(const void *, size_t, const void *, size_t) __pure; #endif void *memmove(void *, const void *, size_t); void *memset(void *, int, size_t); |