mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-31 19:40:33 +08:00
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.
This commit is contained in:
parent
1328009bb4
commit
6e64fccb5f
@ -226,7 +226,7 @@ sig2str(int signum, char *str)
|
|||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
str2sig(const char *restrict str, int *restrict pnum)
|
str2sig(const char *__restrict str, int *__restrict pnum)
|
||||||
{
|
{
|
||||||
unsigned long j = 0;
|
unsigned long j = 0;
|
||||||
char *endp;
|
char *endp;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user