=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ranlib/Attic/misc.c,v retrieving revision 1.5 retrieving revision 1.6 diff -c -r1.5 -r1.6 *** src/usr.bin/ranlib/Attic/misc.c 1999/09/21 13:15:43 1.5 --- src/usr.bin/ranlib/Attic/misc.c 2001/11/19 19:02:15 1.6 *************** *** 1,4 **** ! /* $OpenBSD: misc.c,v 1.5 1999/09/21 13:15:43 espie Exp $ */ /*- * Copyright (c) 1990 The Regents of the University of California. --- 1,4 ---- ! /* $OpenBSD: misc.c,v 1.6 2001/11/19 19:02:15 mpech Exp $ */ /*- * Copyright (c) 1990 The Regents of the University of California. *************** *** 38,44 **** #ifndef lint /*static char sccsid[] = "from: @(#)misc.c 5.2 (Berkeley) 2/26/91";*/ ! static char rcsid[] = "$OpenBSD: misc.c,v 1.5 1999/09/21 13:15:43 espie Exp $"; #endif /* not lint */ #include --- 38,44 ---- #ifndef lint /*static char sccsid[] = "from: @(#)misc.c 5.2 (Berkeley) 2/26/91";*/ ! static char rcsid[] = "$OpenBSD: misc.c,v 1.6 2001/11/19 19:02:15 mpech Exp $"; #endif /* not lint */ #include *************** *** 101,107 **** rname(path) const char *path; { ! register const char *ind; return((ind = strrchr(path, '/')) ? ind + 1 : path); } --- 101,107 ---- rname(path) const char *path; { ! const char *ind; return((ind = strrchr(path, '/')) ? ind + 1 : path); }