diff options
author | Tobias Stoeckmann <tobias@cvs.openbsd.org> | 2010-10-05 15:16:49 +0000 |
---|---|---|
committer | Tobias Stoeckmann <tobias@cvs.openbsd.org> | 2010-10-05 15:16:49 +0000 |
commit | 8415d7ba0aab893630d197ee0a3d4d6b61dc43a2 (patch) | |
tree | 2150941db4e2fbdf98e8e14a2ba4ca5f842d3342 /usr.bin/rcs/rcs.c | |
parent | fc5bd9d7faf53f805e2835a5f27fde0304445dcd (diff) |
Zapped unused function rcs_tag_resolve.
ok xsa
Diffstat (limited to 'usr.bin/rcs/rcs.c')
-rw-r--r-- | usr.bin/rcs/rcs.c | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/usr.bin/rcs/rcs.c b/usr.bin/rcs/rcs.c index 1d78ca83d1b..1aa675aed98 100644 --- a/usr.bin/rcs/rcs.c +++ b/usr.bin/rcs/rcs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rcs.c,v 1.66 2010/10/05 15:13:04 tobias Exp $ */ +/* $OpenBSD: rcs.c,v 1.67 2010/10/05 15:16:48 tobias Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org> * All rights reserved. @@ -1029,24 +1029,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 rcs_lines *dlines, struct rcs_lines *plines) { |