projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
math: fix scalbn and scalbnf on overflow/underflow
[musl]
/
include
/
wordexp.h
diff --git
a/include/wordexp.h
b/include/wordexp.h
index
91995c4
..
d12081e
100644
(file)
--- a/
include/wordexp.h
+++ b/
include/wordexp.h
@@
-5,6
+5,8
@@
extern "C" {
#endif
extern "C" {
#endif
+#include <features.h>
+
#define __NEED_size_t
#include <bits/alltypes.h>
#define __NEED_size_t
#include <bits/alltypes.h>
@@
-19,7
+21,7
@@
extern "C" {
typedef struct
{
size_t we_wordc;
typedef struct
{
size_t we_wordc;
- char **w
c
_wordv;
+ char **w
e
_wordv;
size_t we_offs;
} wordexp_t;
size_t we_offs;
} wordexp_t;
@@
-30,7
+32,7
@@
typedef struct
#define WRDE_CMDSUB 4
#define WRDE_SYNTAX 5
#define WRDE_CMDSUB 4
#define WRDE_SYNTAX 5
-int wordexp (const char *
, wordexp_t *
, int);
+int wordexp (const char *
__restrict, wordexp_t *__restrict
, int);
void wordfree (wordexp_t *);
#ifdef __cplusplus
void wordfree (wordexp_t *);
#ifdef __cplusplus