diff options
author | Mike Frysinger <vapier@gentoo.org> | 2021-09-15 08:04:14 +0300 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2021-09-15 17:08:20 +0300 |
commit | 6e64fccb5f181f632494f88208eea84c1bedf99f (patch) | |
tree | 7a672d219a30a74244a368b80afe55b1e2d22577 /newlib/libc/signal | |
parent | 1328009bb4b5f1313aaa3da47b4fba6a636bf8d6 (diff) |
newlib: sig2str: use __restrict
This matches the header prototype style and most of newlib, and fixes
building with older versions of gcc which only accept the __ form.
Diffstat (limited to 'newlib/libc/signal')
-rw-r--r-- | newlib/libc/signal/sig2str.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/signal/sig2str.c b/newlib/libc/signal/sig2str.c index d3be1ba68..f4df913e2 100644 --- a/newlib/libc/signal/sig2str.c +++ b/newlib/libc/signal/sig2str.c @@ -226,7 +226,7 @@ sig2str(int signum, char *str) } int -str2sig(const char *restrict str, int *restrict pnum) +str2sig(const char *__restrict str, int *__restrict pnum) { unsigned long j = 0; char *endp; |