diff options
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/pthread/tst-cancel28.c | 4 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/tst-getcwd-smallbuff.c | 4 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/tst-socket-timestamp-compat.c | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/sysdeps/pthread/tst-cancel28.c b/sysdeps/pthread/tst-cancel28.c index 2280d57..ebcd88d 100644 --- a/sysdeps/pthread/tst-cancel28.c +++ b/sysdeps/pthread/tst-cancel28.c @@ -52,7 +52,7 @@ thread_handler (union sigval sv) static int do_test (void) { - struct sigevent sev = { 0 }; + struct sigevent sev = { }; sev.sigev_notify = SIGEV_THREAD; sev.sigev_notify_function = &thread_handler; @@ -61,7 +61,7 @@ do_test (void) xpthread_barrier_init (&barrier, NULL, 2); - struct itimerspec trigger = { 0 }; + struct itimerspec trigger = { }; trigger.it_value.tv_nsec = 1000000; TEST_COMPARE (timer_settime (timerid, 0, &trigger, NULL), 0); diff --git a/sysdeps/unix/sysv/linux/tst-getcwd-smallbuff.c b/sysdeps/unix/sysv/linux/tst-getcwd-smallbuff.c index 55362f6..8274958 100644 --- a/sysdeps/unix/sysv/linux/tst-getcwd-smallbuff.c +++ b/sysdeps/unix/sysv/linux/tst-getcwd-smallbuff.c @@ -59,7 +59,7 @@ send_fd (const int sock, const int fd) { struct cmsghdr hdr; char buf[CMSG_SPACE (sizeof (int))]; - } cmsgbuf = {0}; + } cmsgbuf = { }; struct cmsghdr *cmsg; struct iovec vec; char ch = 'A'; @@ -92,7 +92,7 @@ recv_fd (const int sock) { struct cmsghdr hdr; char buf[CMSG_SPACE(sizeof(int))]; - } cmsgbuf = {0}; + } cmsgbuf = { }; struct cmsghdr *cmsg; struct iovec vec; ssize_t n; diff --git a/sysdeps/unix/sysv/linux/tst-socket-timestamp-compat.c b/sysdeps/unix/sysv/linux/tst-socket-timestamp-compat.c index e0fb28d..e2f0655 100644 --- a/sysdeps/unix/sysv/linux/tst-socket-timestamp-compat.c +++ b/sysdeps/unix/sysv/linux/tst-socket-timestamp-compat.c @@ -76,7 +76,7 @@ do_recvmsg_ancillary (bool use_multi_call, struct mmsghdr *mmhdr, static void do_test_large_buffer (bool mc) { - struct mmsghdr mmhdr = { 0 }; + struct mmsghdr mmhdr = { }; /* It should be large enough for either timeval/timespec and the 64 time type as well. */ @@ -147,7 +147,7 @@ do_test_large_buffer (bool mc) static void do_test_small_buffer (bool mc) { - struct mmsghdr mmhdr = { 0 }; + struct mmsghdr mmhdr = { }; /* Enable 32 bit timeval precision and check if no 64 bit timeval stamp is created. */ |