summaryrefslogtreecommitdiffstats
path: root/contrib/cvs/src/find_names.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/cvs/src/find_names.c')
-rw-r--r--contrib/cvs/src/find_names.c16
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;
OpenPOWER on IntegriCloud