diff options
Diffstat (limited to 'lib/libc/gen/dirname.c')
-rw-r--r-- | lib/libc/gen/dirname.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libc/gen/dirname.c b/lib/libc/gen/dirname.c index c46b32e..8e287af 100644 --- a/lib/libc/gen/dirname.c +++ b/lib/libc/gen/dirname.c @@ -30,7 +30,6 @@ static char rcsid[] = "$OpenBSD: dirname.c,v 1.4 1999/05/30 17:10:30 espie Exp $"; #endif /* not lint */ #endif - #include <sys/cdefs.h> __FBSDID("$FreeBSD$"); @@ -44,7 +43,7 @@ dirname(path) const char *path; { static char bname[MAXPATHLEN]; - register const char *endp; + const char *endp; /* Empty or NULL string gets treated as "." */ if (path == NULL || *path == '\0') { |