diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2011-05-20 19:21:11 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2011-05-20 19:21:11 +0000 |
commit | aff333a19fa881f52475c7f352eb57ea44dd7e52 (patch) | |
tree | 5dff54f03cd702649908c1a843dcacda3e1a3b60 /usr.bin/rcs/rcsnum.c | |
parent | 32dbf68cc6dcbdd07ed1076c10c5c5e7f32039bd (diff) |
Remove a bunch of unused functions, from Michael W Bombardieri.
ok ray
Diffstat (limited to 'usr.bin/rcs/rcsnum.c')
-rw-r--r-- | usr.bin/rcs/rcsnum.c | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/usr.bin/rcs/rcsnum.c b/usr.bin/rcs/rcsnum.c index dc44ca2a769..cd599e80cae 100644 --- a/usr.bin/rcs/rcsnum.c +++ b/usr.bin/rcs/rcsnum.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rcsnum.c,v 1.12 2010/07/23 21:46:05 ray Exp $ */ +/* $OpenBSD: rcsnum.c,v 1.13 2011/05/20 19:21:10 nicm Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org> * All rights reserved. @@ -351,23 +351,6 @@ rcsnum_inc(RCSNUM *num) } /* - * rcsnum_dec() - * - * Decreases the revision number specified in <num>, if doing so will not - * result in an ending value below 1. E.g. 4.2 will go to 4.1 but 4.1 will - * be returned as 4.1. - */ -RCSNUM * -rcsnum_dec(RCSNUM *num) -{ - /* XXX - Is it an error for the number to be 0? */ - if (num->rn_id[num->rn_len - 1] <= 1) - return (num); - num->rn_id[num->rn_len - 1]--; - return (num); -} - -/* * rcsnum_revtobr() * * Retrieve the branch number associated with the revision number <num>. |