diff options
author | Jean-Francois Brousseau <jfb@cvs.openbsd.org> | 2005-05-25 21:59:17 +0000 |
---|---|---|
committer | Jean-Francois Brousseau <jfb@cvs.openbsd.org> | 2005-05-25 21:59:17 +0000 |
commit | 93b7ee5cd5a0866839b28e0365119c60858c5588 (patch) | |
tree | 77763f4b62561ea6ebf137c79c3b0e2fda088bb5 /usr.bin/cvs | |
parent | 4424866f7a0bc04384056ad7179b5433102ceea4 (diff) |
unused code
Diffstat (limited to 'usr.bin/cvs')
-rw-r--r-- | usr.bin/cvs/rcs.c | 24 | ||||
-rw-r--r-- | usr.bin/cvs/rcs.h | 6 |
2 files changed, 2 insertions, 28 deletions
diff --git a/usr.bin/cvs/rcs.c b/usr.bin/cvs/rcs.c index 08b82ea4eea..f2393f158e9 100644 --- a/usr.bin/cvs/rcs.c +++ b/usr.bin/cvs/rcs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rcs.c,v 1.53 2005/05/25 21:32:31 jfb Exp $ */ +/* $OpenBSD: rcs.c,v 1.54 2005/05/25 21:59:16 jfb Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org> * All rights reserved. @@ -1258,28 +1258,6 @@ rcs_getrev(RCSFILE *rfp, RCSNUM *rev) } /* - * rcs_gethead() - * - * Get the head revision for the RCS file <rf>. - */ -BUF* -rcs_gethead(RCSFILE *rf) -{ - return rcs_getrev(rf, rf->rf_head); -} - -/* - * rcs_getrevbydate() - * - * Get an RCS revision by a specific date. - */ -RCSNUM* -rcs_getrevbydate(RCSFILE *rfp, struct tm *date) -{ - return (NULL); -} - -/* * rcs_rev_add() * * Add a revision to the RCS file <rf>. The new revision's number can be diff --git a/usr.bin/cvs/rcs.h b/usr.bin/cvs/rcs.h index d159f1b508a..b97f562c5b9 100644 --- a/usr.bin/cvs/rcs.h +++ b/usr.bin/cvs/rcs.h @@ -1,4 +1,4 @@ -/* $OpenBSD: rcs.h,v 1.27 2005/05/25 21:32:31 jfb Exp $ */ +/* $OpenBSD: rcs.h,v 1.28 2005/05/25 21:59:16 jfb Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org> * All rights reserved. @@ -200,8 +200,6 @@ int rcs_lock_setmode (RCSFILE *, int); int rcs_lock_add (RCSFILE *, const char *, RCSNUM *); int rcs_lock_remove (RCSFILE *, const RCSNUM *); BUF* rcs_getrev (RCSFILE *, RCSNUM *); -BUF* rcs_gethead (RCSFILE *); -RCSNUM* rcs_getrevbydate (RCSFILE *, struct tm *); const char* rcs_desc_get (RCSFILE *); int rcs_desc_set (RCSFILE *, const char *); const char* rcs_comment_lookup(const char *); @@ -215,8 +213,6 @@ RCSNUM* rcs_tag_resolve (RCSFILE *, const char *); const char* rcs_errstr (int); - - int rcs_kflag_get (const char *); void rcs_kflag_usage (void); int rcs_kw_expand (RCSFILE *, u_char *, size_t, size_t *); |