=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ranlib/Attic/misc.c,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- src/usr.bin/ranlib/Attic/misc.c 2003/06/12 20:58:10 1.8 +++ src/usr.bin/ranlib/Attic/misc.c 2008/01/02 16:35:22 1.9 @@ -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 @@ -90,14 +90,6 @@ if (!(p = malloc(len))) error(archive); return(p); -} - -const char * -rname(const char *path) -{ - const char *ind; - - return((ind = strrchr(path, '/')) ? ind + 1 : path); } void