Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Feb 2009 06:05:37 +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: r189137 - head/lib/libc/string
Message-ID:  <200902280605.n1S65b1n097072@svn.freebsd.org>

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

Log:
  Add restrict qualifiers.
  I missed this file in my previous commit.

Modified:
  head/lib/libc/string/stpcpy.c

Modified: head/lib/libc/string/stpcpy.c
==============================================================================
--- head/lib/libc/string/stpcpy.c	Sat Feb 28 06:00:58 2009	(r189136)
+++ head/lib/libc/string/stpcpy.c	Sat Feb 28 06:05:37 2009	(r189137)
@@ -38,7 +38,7 @@ __FBSDID("$FreeBSD$");
 #include <string.h>
 
 char *
-stpcpy(char * to, const char * from)
+stpcpy(char * __restrict to, const char * __restrict from)
 {
 
 	for (; (*to = *from); ++from, ++to);



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