From: Paul Eggert Date: Tue, 14 Feb 2017 16:40:23 +0000 (-0800) Subject: argp: port to PGI 16.10 X-Git-Tag: v1.0~6363 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=8b3e22b18791f2148da46e60040fc4d9270936b5;p=gnulib.git argp: port to PGI 16.10 * lib/argp-pin.c (dummy): Declare as needed to make file nonempty. --- diff --git a/ChangeLog b/ChangeLog index 9e4337afd4..bb5e75cbc3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2017-02-14 Paul Eggert + + argp: port to PGI 16.10 + * lib/argp-pin.c (dummy): Declare as needed to make file nonempty. + 2017-02-13 Darshit Shah unicase: Update function protoype to match definition. diff --git a/lib/argp-pin.c b/lib/argp-pin.c index 261191fd0a..64d831d5df 100644 --- a/lib/argp-pin.c +++ b/lib/argp-pin.c @@ -24,3 +24,10 @@ char *program_invocation_short_name = 0; #ifndef HAVE_PROGRAM_INVOCATION_NAME char *program_invocation_name = 0; #endif + +#if (defined HAVE_PROGRAM_INVOCATION_SHORT_NAME \ + && defined HAVE_PROGRAM_INVOCATION_NAME) +/* This declaration is solely to ensure that after preprocessing + this file is never empty. */ +typedef int dummy; +#endif