summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjoris <joris@openbsd.org>2007-09-24 11:18:43 +0000
committerjoris <joris@openbsd.org>2007-09-24 11:18:43 +0000
commit2c37e6814a5308455cb6232fa85070dde83d0191 (patch)
treed745ae43e27bb24295f959809dfd7fb038c326f6
parentFix carp(4) after the switch to dynamic imo_membership allocation. (diff)
downloadwireguard-openbsd-2c37e6814a5308455cb6232fa85070dde83d0191.tar.xz
wireguard-openbsd-2c37e6814a5308455cb6232fa85070dde83d0191.zip
zap unused stuff, cleans it up a bit.
-rw-r--r--usr.bin/cvs/rcs.c20
1 files changed, 1 insertions, 19 deletions
diff --git a/usr.bin/cvs/rcs.c b/usr.bin/cvs/rcs.c
index f69a87d623f..f56bbd23ec7 100644
--- a/usr.bin/cvs/rcs.c
+++ b/usr.bin/cvs/rcs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rcs.c,v 1.220 2007/09/22 15:41:46 joris Exp $ */
+/* $OpenBSD: rcs.c,v 1.221 2007/09/24 11:18:43 joris Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -1009,24 +1009,6 @@ rcs_comment_set(RCSFILE *file, const char *comment)
file->rf_flags &= ~RCS_SYNCED;
}
-/*
- * rcs_tag_resolve()
- *
- * Retrieve the revision number corresponding to the tag <tag> for the RCS
- * file <file>.
- */
-RCSNUM *
-rcs_tag_resolve(RCSFILE *file, const char *tag)
-{
- RCSNUM *num;
-
- if ((num = rcsnum_parse(tag)) == NULL) {
- num = rcs_sym_getrev(file, tag);
- }
-
- return (num);
-}
-
int
rcs_patch_lines(struct cvs_lines *dlines, struct cvs_lines *plines,
struct cvs_line **alines, struct rcs_delta *rdp)