diff compat.c @ 86:ace512d2ad5d

Small fixes
author Matt Johnston <matt@ucc.asn.au>
date Tue, 17 Aug 2004 10:40:31 +0000
parents fe6bca95afa7
children dc6173e09ff7 caa09587c3fb
line wrap: on
line diff
--- a/compat.c	Tue Aug 17 10:29:04 2004 +0000
+++ b/compat.c	Tue Aug 17 10:40:31 2004 +0000
@@ -190,7 +190,7 @@
 
 #ifndef HAVE_BASENAME
 
-char *basename(char *path) {
+char *basename(const char *path) {
 
 	char *foo = strrchr(path, '/');
 	return ++foo;