]> git.saurik.com Git - apple/libc.git/blame - gen/FreeBSD/basename.c.patch
Libc-763.13.tar.gz
[apple/libc.git] / gen / FreeBSD / basename.c.patch
CommitLineData
224c7076
A
1Index: basename.c
2===================================================================
3RCS file: /cvs/root/Libc/gen/FreeBSD/basename.c,v
4retrieving revision 1.2
5diff -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;