diff options
author | peter <peter@FreeBSD.org> | 1998-03-10 13:40:57 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1998-03-10 13:40:57 +0000 |
commit | 0c111e2b51cac7eead56494b30c5977e4ec9a8ea (patch) | |
tree | f60b0014663435c30f2efea2b10ca4f8ecc0208c /contrib/cvs/src/find_names.c | |
parent | c3a8ee0e80a59793349940056dfd14746ebd4905 (diff) | |
download | FreeBSD-src-0c111e2b51cac7eead56494b30c5977e4ec9a8ea.zip FreeBSD-src-0c111e2b51cac7eead56494b30c5977e4ec9a8ea.tar.gz |
Import cvs-1.9.26 onto vendor branch
Diffstat (limited to 'contrib/cvs/src/find_names.c')
-rw-r--r-- | contrib/cvs/src/find_names.c | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/contrib/cvs/src/find_names.c b/contrib/cvs/src/find_names.c index ed6c5c4..4fa795a 100644 --- a/contrib/cvs/src/find_names.c +++ b/contrib/cvs/src/find_names.c @@ -50,18 +50,6 @@ add_entries_proc (node, closure) return (0); } -/* - * compare two files list node (for sort) - */ -static int fsortcmp PROTO ((const Node *, const Node *)); -static int -fsortcmp (p, q) - const Node *p; - const Node *q; -{ - return (strcmp (p->key, q->key)); -} - List * Find_Names (repository, which, aflag, optentries) char *repository; @@ -79,7 +67,7 @@ Find_Names (repository, which, aflag, optentries) if (which & W_LOCAL) { /* parse the entries file (if it exists) */ - entries = Entries_Open (aflag); + entries = Entries_Open (aflag, NULL); if (entries != NULL) { /* walk the entries file adding elements to the files list */ @@ -182,7 +170,7 @@ Find_Directories (repository, which, entries) if (entries != NULL) tmpentries = entries; else if (isfile (CVSADM_ENT)) - tmpentries = Entries_Open (0); + tmpentries = Entries_Open (0, NULL); else tmpentries = NULL; |