diff options
author | Joris Vink <joris@cvs.openbsd.org> | 2007-09-24 11:18:44 +0000 |
---|---|---|
committer | Joris Vink <joris@cvs.openbsd.org> | 2007-09-24 11:18:44 +0000 |
commit | 9b508cc408133d6915e0f81fd6bf5c208ba15811 (patch) | |
tree | f0da2d2ecef6de35369af7001613eb130d542ebd /usr.bin/cvs | |
parent | 1b3fc47700bc303b014c77b4d6bf10c051a619d4 (diff) |
zap unused stuff, cleans it up a bit.
Diffstat (limited to 'usr.bin/cvs')
-rw-r--r-- | usr.bin/cvs/rcs.c | 20 |
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) |