X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/65aafc0c1d6c4434493c4cc24cb90dff937d9361..9d7fa2e15a2a4a13b00b69341471bfab1ba2fa4c:/missing/strlcat.c diff --git a/missing/strlcat.c b/missing/strlcat.c index 744ab3a6..f41207be 100644 --- a/missing/strlcat.c +++ b/missing/strlcat.c @@ -32,11 +32,11 @@ #include #endif -#include +#include #include -#include "interface.h" +#include "netdissect.h" /* * Appends src to string dst of size siz (unlike strncat, siz is the @@ -47,9 +47,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 */