From owner-svn-src-head@FreeBSD.ORG Sat Feb 28 05:08:35 2009 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B1FD7106566C; Sat, 28 Feb 2009 05:08:35 +0000 (UTC) (envelope-from das@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 9FE148FC08; Sat, 28 Feb 2009 05:08:35 +0000 (UTC) (envelope-from das@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n1S58Z23095500; Sat, 28 Feb 2009 05:08:35 GMT (envelope-from das@svn.freebsd.org) Received: (from das@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n1S58ZUB095499; Sat, 28 Feb 2009 05:08:35 GMT (envelope-from das@svn.freebsd.org) Message-Id: <200902280508.n1S58ZUB095499@svn.freebsd.org> From: David Schultz Date: Sat, 28 Feb 2009 05:08:35 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r189132 - head/include X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Feb 2009 05:08:36 -0000 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);