projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add PF_QIPCRTR, AF_QIPCRTR from linux v4.7 to sys/socket.h
[musl]
/
include
/
wordexp.h
diff --git
a/include/wordexp.h
b/include/wordexp.h
index
e7eb325
..
5460002
100644
(file)
--- a/
include/wordexp.h
+++ b/
include/wordexp.h
@@
-5,11
+5,7
@@
extern "C" {
#endif
extern "C" {
#endif
-#if __STDC_VERSION__ >= 199901L
-#define __restrict restrict
-#elif !defined(__GNUC__)
-#define __restrict
-#endif
+#include <features.h>
#define __NEED_size_t
#define __NEED_size_t
@@
-22,8
+18,7
@@
extern "C" {
#define WRDE_SHOWERR 16
#define WRDE_UNDEF 32
#define WRDE_SHOWERR 16
#define WRDE_UNDEF 32
-typedef struct
-{
+typedef struct {
size_t we_wordc;
char **we_wordv;
size_t we_offs;
size_t we_wordc;
char **we_wordv;
size_t we_offs;