diff options
| author | Garrett Wollman <wollman@FreeBSD.org> | 2002-09-21 01:28:41 +0000 |
|---|---|---|
| committer | Garrett Wollman <wollman@FreeBSD.org> | 2002-09-21 01:28:41 +0000 |
| commit | 0d3bcc2e8068cb87817b732860cbde589ea25347 (patch) | |
| tree | c2d8e348e30a733b07a594d611c3ba17a5b0e689 /usr.sbin/pkg_install | |
| parent | 0c7fb5347cd38d724f34bacd8f4992a1ea9cc30d (diff) | |
Notes
Diffstat (limited to 'usr.sbin/pkg_install')
| -rw-r--r-- | usr.sbin/pkg_install/lib/match.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pkg_install/lib/match.c b/usr.sbin/pkg_install/lib/match.c index cf745c32105c8..5312c27c20419 100644 --- a/usr.sbin/pkg_install/lib/match.c +++ b/usr.sbin/pkg_install/lib/match.c @@ -40,7 +40,7 @@ struct store { static int rex_match(const char *, const char *); struct store *storecreate(struct store *); static int storeappend(struct store *, const char *); -static int fname_cmp(const FTSENT **, const FTSENT **); +static int fname_cmp(const FTSENT * const *, const FTSENT * const *); /* * Function to query names of installed packages. @@ -337,7 +337,7 @@ storeappend(struct store *store, const char *item) } static int -fname_cmp(const FTSENT **a, const FTSENT **b) +fname_cmp(const FTSENT * const *a, const FTSENT * const *b) { return strcmp((*a)->fts_name, (*b)->fts_name); } |
