diff options
Diffstat (limited to 'missing/strlcpy.c')
-rw-r--r-- | missing/strlcpy.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/missing/strlcpy.c b/missing/strlcpy.c index c552e0d59685..494ff77390fc 100644 --- a/missing/strlcpy.c +++ b/missing/strlcpy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pcap_strlcpy.c,v 1.12 2015/01/15 03:54:12 millert Exp $ */ +/* $OpenBSD: strlcpy.c,v 1.12 2015/01/15 03:54:12 millert Exp $ */ /* * Copyright (c) 1998, 2015 Todd C. Miller <Todd.Miller@courtesan.com> @@ -16,9 +16,7 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#ifdef HAVE_CONFIG_H #include <config.h> -#endif #include <stddef.h> #include <string.h> @@ -31,7 +29,7 @@ * Returns strlen(src); if retval >= dsize, truncation occurred. */ size_t -pcap_strlcpy(char * restrict dst, const char * restrict src, size_t dsize) +pcapint_strlcpy(char * restrict dst, const char * restrict src, size_t dsize) { const char *osrc = src; size_t nleft = dsize; |