Small fixes

--HG--
extra : convert_revision : 7f568ec9a453957b16efab56c215a4914f0cebf3
This commit is contained in:
Matt Johnston
2004-08-17 10:40:31 +00:00
parent 4657ed1446
commit 3cacc54b78
3 changed files with 6 additions and 3 deletions

View File

@@ -190,7 +190,7 @@ int daemon(int nochdir, int noclose) {
#ifndef HAVE_BASENAME
char *basename(char *path) {
char *basename(const char *path) {
char *foo = strrchr(path, '/');
return ++foo;