summaryrefslogtreecommitdiff
path: root/lib/libc/gen/basename.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/gen/basename.c')
-rw-r--r--lib/libc/gen/basename.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/gen/basename.c b/lib/libc/gen/basename.c
index 41f74d2fa64..6c8b1f610a4 100644
--- a/lib/libc/gen/basename.c
+++ b/lib/libc/gen/basename.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: basename.c,v 1.2 1998/06/21 22:13:39 millert Exp $ */
+/* $OpenBSD: basename.c,v 1.3 1999/05/28 22:00:21 espie Exp $ */
/*
* Copyright (c) 1997 Todd C. Miller <Todd.Miller@courtesan.com>
@@ -28,7 +28,7 @@
*/
#ifndef lint
-static char rcsid[] = "$OpenBSD: basename.c,v 1.2 1998/06/21 22:13:39 millert Exp $";
+static char rcsid[] = "$OpenBSD: basename.c,v 1.3 1999/05/28 22:00:21 espie Exp $";
#endif /* not lint */
#include <errno.h>
@@ -38,7 +38,7 @@ static char rcsid[] = "$OpenBSD: basename.c,v 1.2 1998/06/21 22:13:39 millert Ex
char *
basename(path)
- char *path;
+ const char *path;
{
static char bname[MAXPATHLEN];
register char *endp, *startp;