/usr/src/sys/libkern/strlcat.c register keyword removal

Steve Mynott steve.mynott at gmail.com
Sat Dec 18 13:17:36 PST 2004


--- strlcat.c.orig      2004-01-26 11:09:44.000000000 +0000
+++ strlcat.c   2004-12-18 20:55:38.000000000 +0000
@@ -42,9 +42,9 @@
 size_t
 strlcat(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;
        size_t dlen;

        /* Find the end of dst and adjust bytes left but don't go past end */





More information about the Submit mailing list