X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/3d932490b826facb568937a1290910a1265267f5..e5e64498bb8fd83919d4e7f854224a1e459e4ab0:/missing/strlcat.c diff --git a/missing/strlcat.c b/missing/strlcat.c index ced0073c..34f1af2d 100644 --- a/missing/strlcat.c +++ b/missing/strlcat.c @@ -28,11 +28,6 @@ * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#ifndef lint -static const char rcsid[] = - "@(#) $Header: /tcpdump/master/tcpdump/missing/strlcat.c,v 1.2 2002-08-01 08:53:40 risso Exp $ (LBL)"; -#endif - #ifdef HAVE_CONFIG_H #include #endif @@ -41,6 +36,8 @@ static const char rcsid[] = #include +#include "interface.h" + /* * Appends src to string dst of size siz (unlike strncat, siz is the * full size of dst, not space left). At most siz-1 characters @@ -48,10 +45,7 @@ static const char rcsid[] = * Returns strlen(src); if retval >= siz, truncation occurred. */ size_t -strlcat(dst, src, siz) - char *dst; - const char *src; - size_t siz; +strlcat(char *dst, const char *src, size_t siz) { register char *d = dst; register const char *s = src;