svn commit: r189137 - head/lib/libc/string

David Schultz das at FreeBSD.org
Fri Feb 27 22:05:38 PST 2009


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);


More information about the svn-src-all mailing list