diff options
Diffstat (limited to 'lib/libc/gen/basename.c')
-rw-r--r-- | lib/libc/gen/basename.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/libc/gen/basename.c b/lib/libc/gen/basename.c index 3c526af9a2b..9a25ad49699 100644 --- a/lib/libc/gen/basename.c +++ b/lib/libc/gen/basename.c @@ -1,4 +1,4 @@ -/* $OpenBSD: basename.c,v 1.9 2003/06/03 01:52:39 millert Exp $ */ +/* $OpenBSD: basename.c,v 1.10 2003/06/11 21:03:10 deraadt Exp $ */ /* * Copyright (c) 1997 Todd C. Miller <Todd.Miller@courtesan.com> @@ -17,7 +17,7 @@ */ #ifndef lint -static char rcsid[] = "$OpenBSD: basename.c,v 1.9 2003/06/03 01:52:39 millert Exp $"; +static char rcsid[] = "$OpenBSD: basename.c,v 1.10 2003/06/11 21:03:10 deraadt Exp $"; #endif /* not lint */ #include <errno.h> @@ -26,8 +26,7 @@ static char rcsid[] = "$OpenBSD: basename.c,v 1.9 2003/06/03 01:52:39 millert Ex #include <sys/param.h> char * -basename(path) - const char *path; +basename(const char *path) { static char bname[MAXPATHLEN]; register const char *endp, *startp; |