summaryrefslogtreecommitdiffhomepage
path: root/compat.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2004-08-17 10:40:31 +0000
committerMatt Johnston <matt@ucc.asn.au>2004-08-17 10:40:31 +0000
commit3cacc54b787e8ff933181af4ca4b41866ef2b1ce (patch)
tree09249dccd63d7e53c3289657bca6878d355ecd85 /compat.c
parent4657ed14463008d08f8633d50103ec0522cffdae (diff)
Small fixes
--HG-- extra : convert_revision : 7f568ec9a453957b16efab56c215a4914f0cebf3
Diffstat (limited to 'compat.c')
-rw-r--r--compat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/compat.c b/compat.c
index fb6e70a..7e0c1ac 100644
--- a/compat.c
+++ b/compat.c
@@ -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;