diff options
author | Joris Vink <joris@cvs.openbsd.org> | 2005-12-03 02:19:18 +0000 |
---|---|---|
committer | Joris Vink <joris@cvs.openbsd.org> | 2005-12-03 02:19:18 +0000 |
commit | b3c04098cf7264c08a88143453690a416b691c3b (patch) | |
tree | 269cc4a18fc4844a158b685008a3391f68738d88 /usr.bin | |
parent | ff34a99de8822016b868897bd842cac9fb2762bd (diff) |
remove unused and useless functions, they just get in the way;
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/cvs/file.c | 18 | ||||
-rw-r--r-- | usr.bin/cvs/file.h | 3 |
2 files changed, 2 insertions, 19 deletions
diff --git a/usr.bin/cvs/file.c b/usr.bin/cvs/file.c index d9a4656a1d9..1ecb29e7b10 100644 --- a/usr.bin/cvs/file.c +++ b/usr.bin/cvs/file.c @@ -1,4 +1,4 @@ -/* $OpenBSD: file.c,v 1.128 2005/12/03 01:02:08 joris Exp $ */ +/* $OpenBSD: file.c,v 1.129 2005/12/03 02:19:17 joris Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org> * All rights reserved. @@ -1082,22 +1082,6 @@ cvs_file_free(CVSFILE *cf) /* - * cvs_file_examine() - * - * Walk through the files, calling the callback as we go. - */ -int -cvs_file_examine(CVSFILE *cf, int (*exam)(CVSFILE *, void *), void *arg) -{ - int ret; - CVSFILE *fp; - - fp = NULL; - ret = 0; - return (ret); -} - -/* * cvs_file_sort() * * Sort a list of cvs file structures according to their filename. The list diff --git a/usr.bin/cvs/file.h b/usr.bin/cvs/file.h index d0128700e08..9847d2e708f 100644 --- a/usr.bin/cvs/file.h +++ b/usr.bin/cvs/file.h @@ -1,4 +1,4 @@ -/* $OpenBSD: file.h,v 1.30 2005/12/03 01:02:09 joris Exp $ */ +/* $OpenBSD: file.h,v 1.31 2005/12/03 02:19:17 joris Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org> * All rights reserved. @@ -150,7 +150,6 @@ CVSFILE *cvs_file_loadinfo(char *, int, int (*)(CVSFILE *, void *), void *, CVSFILE *cvs_file_create(CVSFILE *, const char *, u_int, mode_t); CVSFILE *cvs_file_copy(CVSFILE *); int cvs_file_attach(CVSFILE *, CVSFILE *); -int cvs_file_examine(CVSFILE *, int (*)(CVSFILE *, void *), void *); int cvs_file_init(void); int cvs_file_ignore(const char *); |