projects
/
oweals
/
musl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
work around gcc 4.8's generation of self-referential mem* functions at -O3
[oweals/musl.git]
/
src
/
misc
/
wordexp.c
diff --git
a/src/misc/wordexp.c
b/src/misc/wordexp.c
index 15adddbe381e14cb6e70b7db6f6502e84111deb6..617706e50d99c18f10eb9a85d836f6100abe63bc 100644
(file)
--- 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);