maint: regularize struct initializers
commite0326b0473837aae21fbf4c60674a5fcf85d9bf1
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 30 Aug 2023 14:39:34 +0000 (30 07:39 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 31 Aug 2023 03:32:13 +0000 (30 20:32 -0700)
treeff8e86bfa96049f3c7d488ddceb896e189fb6dff
parent2c902cc2887340adb6ca7ac6b4b922b52438920f
maint: regularize struct initializers

* src/chmod.c (process_file):
* src/df.c (replace_invalid_chars):
* src/iopoll.c (iopoll_internal):
* src/ls.c (quote_name_buf):
* src/pathchk.c (portable_chars_only):
* src/printf.c (STRTOX):
* src/shred.c (main):
* src/stat.c (neg_to_zero, do_stat):
* src/timeout.c (settimeout):
* src/tr.c (card_of_complement):
* src/wc.c (wc):
Prefer ‘{0}’ to initialize everything to zero.
* src/stat.c (do_stat):
* src/timeout.c (settimeout):
Do not assume the usual order for struct members,
as POSIX does not guarantee this.
src/chmod.c
src/df.c
src/iopoll.c
src/ls.c
src/pathchk.c
src/printf.c
src/shred.c
src/stat.c
src/timeout.c
src/tr.c
src/wc.c