diff --git a/lib/argp-ba.c b/lib/argp-ba.c index 5e43c75d32..3033cc7fb5 100644 --- a/lib/argp-ba.c +++ b/lib/argp-ba.c @@ -16,19 +16,17 @@ You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ +#include + /* If set by the user program, it should point to string that is the bug-reporting address for the program. It will be printed by argp_help if the ARGP_HELP_BUG_ADDR flag is set (as it is by various standard help messages), embedded in a sentence that says something like "Report bugs to - ADDR." */ -const char *argp_program_bug_address -/* This variable should be zero-initialized. On most systems, putting it into - BSS is sufficient. Not so on Mac OS X 10.3 and 10.4, see + ADDR." + + Initialize to a null pointer to work around a bug in MacOS X 10.3-10.4; see - . */ -#if defined __ELF__ - /* On ELF systems, variables in BSS behave well. */ -#else - = (const char *) 0 -#endif - ; + . + This initialization doesn't cost anything with GCC these days. */ + +char const *argp_program_bug_address = NULL;