comparison 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
comparison
equal deleted inserted replaced
85:2877c5a02d7c 86:ace512d2ad5d
188 } 188 }
189 #endif /* HAVE_DAEMON */ 189 #endif /* HAVE_DAEMON */
190 190
191 #ifndef HAVE_BASENAME 191 #ifndef HAVE_BASENAME
192 192
193 char *basename(char *path) { 193 char *basename(const char *path) {
194 194
195 char *foo = strrchr(path, '/'); 195 char *foo = strrchr(path, '/');
196 return ++foo; 196 return ++foo;
197 } 197 }
198 198