summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authordas <das@FreeBSD.org>2009-02-28 06:05:37 +0000
committerdas <das@FreeBSD.org>2009-02-28 06:05:37 +0000
commitebb4763b7fa6c54ee27fcd944e1d83d892f43906 (patch)
treeacc0f18f76aff1248966d3248c7ca1598d14f904 /lib
parenta67fbaa46cbdf18a03eefb3f83e2f74f68918753 (diff)
downloadFreeBSD-src-ebb4763b7fa6c54ee27fcd944e1d83d892f43906.zip
FreeBSD-src-ebb4763b7fa6c54ee27fcd944e1d83d892f43906.tar.gz
Add restrict qualifiers.
I missed this file in my previous commit.
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/string/stpcpy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/string/stpcpy.c b/lib/libc/string/stpcpy.c
index 0bee746..beb1159 100644
--- a/lib/libc/string/stpcpy.c
+++ b/lib/libc/string/stpcpy.c
@@ -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);
OpenPOWER on IntegriCloud