DragonFly BSD
DragonFly submit List (threaded) for 2004-12
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

/usr/src/sys/libkern/strlcpy.c remove register keyword


From: Steve Mynott <steve.mynott@xxxxxxxxx>
Date: Sun, 19 Dec 2004 11:47:53 +0000

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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]