[COMMITTED] Fix test-skeleton C99 designed initialization

Paul Eggert eggert@cs.ucla.edu
Sat Aug 27 19:42:00 GMT 2016


Adhemerval Zanella wrote:
> -  struct timespec remaining = {};
> +  struct timespec remaining = { 0 };

I suggest appending a comma; this style is often used in GNU apps as a cue to 
the reader that the remaining zeros are elided. Like this:

    struct timespec remaining = { 0, };



More information about the Libc-alpha mailing list