X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmisc%2Fwordexp.c;h=617706e50d99c18f10eb9a85d836f6100abe63bc;hb=f143458223f90262a9c2d929f9e815a74e3aa139;hp=15adddbe381e14cb6e70b7db6f6502e84111deb6;hpb=0d5df2df4f57cf28adf91110f70cdee0bc830151;p=musl diff --git a/src/misc/wordexp.c b/src/misc/wordexp.c index 15adddbe..617706e5 100644 --- a/src/misc/wordexp.c +++ b/src/misc/wordexp.c @@ -147,7 +147,7 @@ static int do_wordexp(const char *s, wordexp_t *we, int flags) return err; } -int wordexp(const char *s, wordexp_t *we, int flags) +int wordexp(const char *restrict s, wordexp_t *restrict we, int flags) { int r, cs; pthread_setcancelstate(PTHREAD_CANCEL_DISABLE, &cs);