From 93eb73aa488637e0761a8e413b308bc3006d0564 Mon Sep 17 00:00:00 2001 From: Jeffrey Hsu Date: Mon, 10 Feb 2003 00:36:27 +0000 Subject: Add restrict keyword to string functions. Reviewed by: bde --- sys/libkern/strcpy.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'sys/libkern/strcpy.c') diff --git a/sys/libkern/strcpy.c b/sys/libkern/strcpy.c index 3aed2d0a30eb1..dd25c608b6601 100644 --- a/sys/libkern/strcpy.c +++ b/sys/libkern/strcpy.c @@ -36,9 +36,7 @@ #include char * -strcpy(to, from) - register char *to; - register const char *from; +strcpy(char * __restrict to, const char * __restrict from) { char *save = to; -- cgit v1.2.3