diff options
author | 2008-01-04 13:45:24 +0000 | |
---|---|---|
committer | 2008-01-04 13:45:24 +0000 | |
commit | be9d071f735777a5e4151ffca8a03f015d01c186 (patch) | |
tree | b255fe0f83458224ae5ec379c2b09f086ac89b06 | |
parent | always bzero the oid lookup key before initializing it. (diff) | |
download | wireguard-openbsd-be9d071f735777a5e4151ffca8a03f015d01c186.tar.xz wireguard-openbsd-be9d071f735777a5e4151ffca8a03f015d01c186.zip |
remove unused function
from tobias@
ok xsa@ tobias@
-rw-r--r-- | usr.bin/rcs/rcsutil.c | 12 | ||||
-rw-r--r-- | usr.bin/rcs/rcsutil.h | 3 |
2 files changed, 2 insertions, 13 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 diff --git a/usr.bin/rcs/rcsutil.h b/usr.bin/rcs/rcsutil.h index df36d7c7ccd..62fe09fba7f 100644 --- a/usr.bin/rcs/rcsutil.h +++ b/usr.bin/rcs/rcsutil.h @@ -1,4 +1,4 @@ -/* $OpenBSD: rcsutil.h,v 1.12 2007/02/22 19:11:13 otto Exp $ */ +/* $OpenBSD: rcsutil.h,v 1.13 2008/01/04 13:45:24 chl Exp $ */ /* * Copyright (c) 2006 Xavier Santolaria <xsa@openbsd.org> * All rights reserved. @@ -57,7 +57,6 @@ RCSNUM *rcs_getrevnum(const char *, RCSFILE *); char *rcs_prompt(const char *); u_int rcs_rev_select(RCSFILE *, const char *); int rcs_set_description(RCSFILE *, const char *); -void rcs_set_rev(const char *, RCSNUM **); void rcs_setrevstr(char **, char *); void rcs_setrevstr2(char **, char **, char *); BUF *rcs_patchfile(u_char *, size_t, u_char *, size_t, |