/usr/src/sys/libkern/strlcpy.c remove register keyword
Steve Mynott
steve.mynott at gmail.com
Sun Dec 19 03:48:58 PST 2004
--- strlcpy.c.orig 2004-01-26 11:09:44.000000000 +0000
+++ strlcpy.c 2004-12-19 11:46:03.000000000 +0000
@@ -40,9 +40,9 @@
size_t
strlcpy(char *dst, const char *src, size_t siz)
{
- register char *d = dst;
- register const char *s = src;
- register size_t n = siz;
+ char *d = dst;
+ const char *s = src;
+ size_t n = siz;
/* Copy as many bytes as will fit */
if (n != 0 && --n != 0) {
More information about the Submit
mailing list