Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Feb 2009 05:08:35 +0000 (UTC)
From:      David Schultz <das@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r189132 - head/include
Message-ID:  <200902280508.n1S58ZUB095499@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: das
Date: Sat Feb 28 05:08:35 2009
New Revision: 189132
URL: http://svn.freebsd.org/changeset/base/189132

Log:
  Mark memmem() __pure.

Modified:
  head/include/string.h

Modified: head/include/string.h
==============================================================================
--- head/include/string.h	Sat Feb 28 04:58:18 2009	(r189131)
+++ head/include/string.h	Sat Feb 28 05:08:35 2009	(r189132)
@@ -63,7 +63,7 @@ void	*memrchr(const void *, int, size_t)
 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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902280508.n1S58ZUB095499>