diff options
| author | wiz <wiz@NetBSD.org> | 2003-10-04 00:50:34 +0000 |
|---|---|---|
| committer | wiz <wiz@NetBSD.org> | 2003-10-04 00:50:34 +0000 |
| commit | c87a7072e85ae63d7e0731daf8d6b63174c19d96 (patch) | |
| tree | cbce2b3e1710505863f0fa389162f29d4a6514e7 /usr.sbin/pkg_install/lib/lib.h | |
| parent | c4beb9648d466004a5413cce893a7116cb3324e0 (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.h | 3 |
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 */ |
