1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-07 06:43:00 +03:00

Revert "Add braces in initializers for GCC 4.9 or older"

This reverts commit 8aa2a9e033.

as not all targets need braces.
This commit is contained in:
H.J. Lu
2024-12-15 18:49:43 +08:00
parent d4175a62c2
commit 20f8c5df56
9 changed files with 18 additions and 21 deletions

View File

@@ -57,7 +57,7 @@ thread_handler (union sigval sv)
static int
do_test (void)
{
struct sigevent sev = { { 0 } };
struct sigevent sev = { 0 };
sev.sigev_notify = SIGEV_THREAD;
sev.sigev_notify_function = &thread_handler;
@@ -66,7 +66,7 @@ do_test (void)
xpthread_barrier_init (&barrier, NULL, 2);
struct itimerspec trigger = { { 0 } };
struct itimerspec trigger = { 0 };
trigger.it_value.tv_nsec = 1000000;
TEST_COMPARE (timer_settime (timerid, 0, &trigger, NULL), 0);