X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=include%2Fwordexp.h;h=d12081e80130ca235315fed808fe2d267b7c723c;hp=91995c4447a9dc8e1bbd86240b37c755d8af251b;hb=43653c1250ad5eb5385d7e08292ad047420f8d25;hpb=0b44a0315b47dd8eced9f3b7f31580cf14bbfc01 diff --git a/include/wordexp.h b/include/wordexp.h index 91995c44..d12081e8 100644 --- a/include/wordexp.h +++ b/include/wordexp.h @@ -5,6 +5,8 @@ extern "C" { #endif +#include + #define __NEED_size_t #include @@ -19,7 +21,7 @@ extern "C" { typedef struct { size_t we_wordc; - char **wc_wordv; + char **we_wordv; size_t we_offs; } wordexp_t; @@ -30,7 +32,7 @@ typedef struct #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