Get rid of duplicate const declaration specifier warning in tst-resolv-qtypes.c.

Paul Eggert eggert@cs.ucla.edu
Thu Sep 7 17:38:00 GMT 2017


H.J. Lu wrote:
> -static const const char *domain = "www.example.com";
> +static const char * const domain = "www.example.com";

Why not:

static const char domain[] = "www.example.com";

instead, before you backport?  It's simpler and less confusing.



More information about the Libc-alpha mailing list