X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/a2f7be917569bccbed2fd705bbb0fa15d0fcf8d0..bdac249ee0574f1aa187fc406cec9f61c775f9da:/missing/strlcat.c diff --git a/missing/strlcat.c b/missing/strlcat.c index 34f1af2d..f41207be 100644 --- a/missing/strlcat.c +++ b/missing/strlcat.c @@ -28,15 +28,15 @@ * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#ifdef HAVE_CONFIG_H +#ifdef HAVE_CONFIG_H #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 */