summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/file.c
diff options
context:
space:
mode:
authorXavier Santolaria <xsa@cvs.openbsd.org>2007-01-06 17:09:09 +0000
committerXavier Santolaria <xsa@cvs.openbsd.org>2007-01-06 17:09:09 +0000
commit2076078ae03061eba3512dc8b09e7bf45d1ee64d (patch)
tree9ae872c8bbacf65c7f5bfa42307ef9e8c0fdc1fd /usr.bin/cvs/file.c
parenta8c88a587872b293df4f746f0db121c836000f35 (diff)
add cvs_base_handle() routine to handle the CVS/Baserev* files.
first bits for the edit command for now. definitly still more work to do for optimization...
Diffstat (limited to 'usr.bin/cvs/file.c')
-rw-r--r--usr.bin/cvs/file.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/usr.bin/cvs/file.c b/usr.bin/cvs/file.c
index 6e8f2773eb0..35769f573ef 100644
--- a/usr.bin/cvs/file.c
+++ b/usr.bin/cvs/file.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: file.c,v 1.164 2007/01/05 07:13:49 xsa Exp $ */
+/* $OpenBSD: file.c,v 1.165 2007/01/06 17:09:08 xsa Exp $ */
/*
* Copyright (c) 2006 Joris Vink <joris@openbsd.org>
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
@@ -68,8 +68,6 @@ static const char *cvs_ign_std[] = {
struct ignore_head cvs_ign_pats;
struct ignore_head dir_ign_pats;
-static int cvs_file_cmpname(const char *, const char *);
-
void
cvs_file_init(void)
{
@@ -843,7 +841,7 @@ cvs_file_free(struct cvs_file *cf)
xfree(cf);
}
-static int
+int
cvs_file_cmpname(const char *name1, const char *name2)
{
return (cvs_nocase == 0) ? (strcmp(name1, name2)) :