diff options
author | 2005-12-03 02:19:17 +0000 | |
---|---|---|
committer | 2005-12-03 02:19:17 +0000 | |
commit | 17c7d4fc67d457a3165f02c9b3de510071612199 (patch) | |
tree | 9be31d8833dd791c6e6e3255d0245912131cd283 | |
parent | usr.bin/rcs stuff doesn't care about cvs_checkout_rev(); (diff) | |
download | wireguard-openbsd-17c7d4fc67d457a3165f02c9b3de510071612199.tar.xz wireguard-openbsd-17c7d4fc67d457a3165f02c9b3de510071612199.zip |
remove unused and useless functions, they just get in the way;
-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 *); |