mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-27 19:17:18 +08:00
newlib: libc: reent.h: remove unnecessary parentheses
The compiler warns the double parentheses are unnecessary in some target, and cause fail cases when doing some testcases in regression. gcc/testsuite/g++.dg/warn/Wstringop-overflow-6.C Remove the unnecessary parentheses will fix it. See more details in https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85775 Same like in commit 05425831290c9869bc7987b5df3ce84aa4f19a6c, Author: Maxim Blinov <maxim.blinov@embecosm.com> Date: Thu Jul 22 22:41:42 2021 +0100 Remove unneccesary parenthesis around declarator Thanks for Sebastian Huber's remind!
This commit is contained in:
parent
2faeaf50fd
commit
12d07e1ddd
@ -421,7 +421,7 @@ struct _reent
|
||||
char *_asctime_buf;
|
||||
|
||||
/* signal info */
|
||||
void (**(_sig_func))(int);
|
||||
void (** _sig_func)(int);
|
||||
|
||||
#ifdef _REENT_BACKWARD_BINARY_COMPAT
|
||||
struct _atexit *_reserved_6;
|
||||
|
Loading…
x
Reference in New Issue
Block a user