diff options
| author | David E. O'Brien <obrien@FreeBSD.org> | 2002-02-01 01:08:48 +0000 |
|---|---|---|
| committer | David E. O'Brien <obrien@FreeBSD.org> | 2002-02-01 01:08:48 +0000 |
| commit | 22626efa0f96cbca4edae882e46cb56b1879706b (patch) | |
| tree | 8179b431c3e3ff86ad8d0302e31673509ac370ce /lib/libc/gen/basename.c | |
| parent | ea8d448a923f0d68d7ecf1d2a0583c7d17bdee4e (diff) | |
Notes
Diffstat (limited to 'lib/libc/gen/basename.c')
| -rw-r--r-- | lib/libc/gen/basename.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libc/gen/basename.c b/lib/libc/gen/basename.c index ab268cd49f3a..cbeb1d52ce79 100644 --- a/lib/libc/gen/basename.c +++ b/lib/libc/gen/basename.c @@ -30,7 +30,6 @@ static char rcsid[] = "$OpenBSD: basename.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 @@ basename(path) const char *path; { static char bname[MAXPATHLEN]; - register const char *endp, *startp; + const char *endp, *startp; /* Empty or NULL string gets treated as "." */ if (path == NULL || *path == '\0') { |
