]> git.saurik.com Git - apple/libc.git/blob - gen/FreeBSD/basename.c.patch
Libc-594.1.4.tar.gz
[apple/libc.git] / gen / FreeBSD / basename.c.patch
1 Index: basename.c
2 ===================================================================
3 RCS file: /cvs/root/Libc/gen/FreeBSD/basename.c,v
4 retrieving revision 1.2
5 diff -u -d -b -w -p -u -r1.2 basename.c
6 --- basename.c 2003/05/20 22:21:01 1.2
7 +++ basename.c 2004/12/10 18:48:36
8 @@ -39,6 +39,10 @@ __FBSDID("$FreeBSD: src/lib/libc/gen/bas
9 #include <string.h>
10 #include <sys/param.h>
11
12 +#if __DARWIN_UNIX03
13 +#define const /**/
14 +#endif
15 +
16 char *
17 basename(path)
18 const char *path;