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