summaryrefslogtreecommitdiff
path: root/usr.bin/ranlib/misc.c
diff options
context:
space:
mode:
authorCharles Longeau <chl@cvs.openbsd.org>2008-01-02 16:35:23 +0000
committerCharles Longeau <chl@cvs.openbsd.org>2008-01-02 16:35:23 +0000
commitdf8bc4d7a437f13aaa4858426b0e6f5a9a034788 (patch)
tree8a0477316ef487d2fcc30d4a1fd062364c024d31 /usr.bin/ranlib/misc.c
parentb13f5f1f130aedfdeb6e626985366295025953fe (diff)
remove unused functions
from tobias@ ok millert@ tobias@
Diffstat (limited to 'usr.bin/ranlib/misc.c')
-rw-r--r--usr.bin/ranlib/misc.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/usr.bin/ranlib/misc.c b/usr.bin/ranlib/misc.c
index de30e3cf618..f9a72d0daf4 100644
--- a/usr.bin/ranlib/misc.c
+++ b/usr.bin/ranlib/misc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: misc.c,v 1.8 2003/06/12 20:58:10 deraadt Exp $ */
+/* $OpenBSD: misc.c,v 1.9 2008/01/02 16:35:22 chl Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@@ -34,7 +34,7 @@
#ifndef lint
/*static char sccsid[] = "from: @(#)misc.c 5.2 (Berkeley) 2/26/91";*/
-static char rcsid[] = "$OpenBSD: misc.c,v 1.8 2003/06/12 20:58:10 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: misc.c,v 1.9 2008/01/02 16:35:22 chl Exp $";
#endif /* not lint */
#include <sys/param.h>
@@ -92,14 +92,6 @@ emalloc(size_t len)
return(p);
}
-const char *
-rname(const char *path)
-{
- const char *ind;
-
- return((ind = strrchr(path, '/')) ? ind + 1 : path);
-}
-
void
badfmt(void)
{