On 28/11/2019 20:42, Luc Van Oostenryck wrote: > Move some of the cases so that each STANDARD_GNU* is just > under the its corresponding STANDRAD_C*. s/STANDRAD_C/STANDARD_C/ ATB, Ramsay Jones > > Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@xxxxxxxxx> > --- > lib.c | 13 +++++-------- > 1 file changed, 5 insertions(+), 8 deletions(-) > > diff --git a/lib.c b/lib.c > index 97d8af390..02f6231e2 100644 > --- a/lib.c > +++ b/lib.c > @@ -1405,24 +1405,21 @@ static void predefined_macros(void) > > predefine("__STDC__", 1, "1"); > switch (standard) { > + default: > + break; > + > case STANDARD_C89: > predefine("__STRICT_ANSI__", 1, "1"); > + case STANDARD_GNU89: > break; > > case STANDARD_C94: > - predefine("__STDC_VERSION__", 1, "199409L"); > predefine("__STRICT_ANSI__", 1, "1"); > + predefine("__STDC_VERSION__", 1, "199409L"); > break; > > case STANDARD_C99: > - predefine("__STDC_VERSION__", 1, "199901L"); > predefine("__STRICT_ANSI__", 1, "1"); > - break; > - > - case STANDARD_GNU89: > - default: > - break; > - > case STANDARD_GNU99: > predefine("__STDC_VERSION__", 1, "199901L"); > break; >