summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_install/lib/lib.h
diff options
context:
space:
mode:
authorwiz <wiz@NetBSD.org>2003-10-04 00:50:34 +0000
committerwiz <wiz@NetBSD.org>2003-10-04 00:50:34 +0000
commitc87a7072e85ae63d7e0731daf8d6b63174c19d96 (patch)
treecbce2b3e1710505863f0fa389162f29d4a6514e7 /usr.sbin/pkg_install/lib/lib.h
parentc4beb9648d466004a5413cce893a7116cb3324e0 (diff)
Replace strnncpy calls with strlcpy calls. Remove strnncpy.
Ok'ed by agc and hubertf. Verified working with editors/mule package.
Diffstat (limited to 'usr.sbin/pkg_install/lib/lib.h')
-rw-r--r--usr.sbin/pkg_install/lib/lib.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.sbin/pkg_install/lib/lib.h b/usr.sbin/pkg_install/lib/lib.h
index 7b32aeddb95..bc4e2e1c4e4 100644
--- a/usr.sbin/pkg_install/lib/lib.h
+++ b/usr.sbin/pkg_install/lib/lib.h
@@ -1,4 +1,4 @@
-/* $NetBSD: lib.h,v 1.62 2003/10/03 15:40:27 wiz Exp $ */
+/* $NetBSD: lib.h,v 1.63 2003/10/04 00:50:34 wiz Exp $ */
/* from FreeBSD Id: lib.h,v 1.25 1997/10/08 07:48:03 charnier Exp */
@@ -222,7 +222,6 @@ int pmatch(const char *, const char *);
int findmatchingname(const char *, const char *, matchfn, void *); /* doesn't really belong to "strings" */
char *findbestmatchingname(const char *, const char *); /* neither */
int ispkgpattern(const char *);
-char *strnncpy(char *, size_t, char *, size_t);
void strip_txz(char *, char *, const char *);
/* callback functions for findmatchingname */