]> The Tcpdump Group git mirrors - libpcap/blobdiff - missing/strlcpy.c
More pcap_ to pcapint_ for non-API routines.
[libpcap] / missing / strlcpy.c
index c552e0d59685488f53d6ec49ba187f23665c71e2..4e721ae94fd4890b335cbc6e2306d7351415c6d4 100644 (file)
@@ -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 <[email protected]>
@@ -31,7 +31,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;