summaryrefslogtreecommitdiffstats
path: root/usr.bin/rcs/rcsutil.c
diff options
context:
space:
mode:
authorchl <chl@openbsd.org>2008-01-04 13:45:24 +0000
committerchl <chl@openbsd.org>2008-01-04 13:45:24 +0000
commitbe9d071f735777a5e4151ffca8a03f015d01c186 (patch)
treeb255fe0f83458224ae5ec379c2b09f086ac89b06 /usr.bin/rcs/rcsutil.c
parentalways bzero the oid lookup key before initializing it. (diff)
downloadwireguard-openbsd-be9d071f735777a5e4151ffca8a03f015d01c186.tar.xz
wireguard-openbsd-be9d071f735777a5e4151ffca8a03f015d01c186.zip
remove unused function
from tobias@ ok xsa@ tobias@
Diffstat (limited to 'usr.bin/rcs/rcsutil.c')
-rw-r--r--usr.bin/rcs/rcsutil.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/usr.bin/rcs/rcsutil.c b/usr.bin/rcs/rcsutil.c
index 9e3177773cb..6f67c362d70 100644
--- a/usr.bin/rcs/rcsutil.c
+++ b/usr.bin/rcs/rcsutil.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rcsutil.c,v 1.31 2007/07/19 06:37:58 ray Exp $ */
+/* $OpenBSD: rcsutil.c,v 1.32 2008/01/04 13:45:24 chl Exp $ */
/*
* Copyright (c) 2005, 2006 Joris Vink <joris@openbsd.org>
* Copyright (c) 2006 Xavier Santolaria <xsa@openbsd.org>
@@ -275,16 +275,6 @@ rcs_choosefile(const char *filename, char *out, size_t len)
}
/*
- * Allocate an RCSNUM and store in <rev>.
- */
-void
-rcs_set_rev(const char *str, RCSNUM **rev)
-{
- if (str == NULL || (*rev = rcsnum_parse(str)) == NULL)
- errx(1, "bad revision number `%s'", str);
-}
-
-/*
* Set <str> to <new_str>. Print warning if <str> is redefined.
*/
void