Loading...
--- Libc/Libc-1725.40.4/include/wordexp.h
+++ Libc/Libc-498/include/wordexp.h
@@ -47,16 +47,16 @@
#define _WORDEXP_H
#include <sys/cdefs.h>
-#include <_bounds.h>
#include <_types.h>
-#include <sys/_types/_size_t.h>
-#include <Availability.h>
-_LIBC_SINGLE_BY_DEFAULT()
+#ifndef _SIZE_T
+#define _SIZE_T
+typedef __darwin_size_t size_t;
+#endif
typedef struct {
size_t we_wordc;
- char *_LIBC_CSTR *_LIBC_COUNT(we_wordc) we_wordv;
+ char **we_wordv;
size_t we_offs;
} wordexp_t;
@@ -75,14 +75,14 @@
#define WRDE_BADCHAR 1
#define WRDE_BADVAL 2
#define WRDE_CMDSUB 3
-#define WRDE_NOSPACE 4
-#define WRDE_NOSYS 5
+#define WRDE_NOSPACE 4
+#define WRDE_NOSYS 5
#define WRDE_SYNTAX 6
__BEGIN_DECLS
-int wordexp(const char * __restrict, wordexp_t * __restrict, int) __OSX_AVAILABLE_STARTING(__MAC_10_0, __IPHONE_NA);
-void wordfree(wordexp_t *) __OSX_AVAILABLE_STARTING(__MAC_10_0, __IPHONE_NA);
+int wordexp(const char * __restrict, wordexp_t * __restrict, int);
+void wordfree(wordexp_t *);
__END_DECLS
#endif /* _WORDEXP_H */