diff options
author | Akim Demaille <demaille@gostai.com> | 2012-02-19 11:13:04 +0100 |
---|---|---|
committer | Akim Demaille <demaille@gostai.com> | 2012-02-19 12:31:10 +0100 |
commit | 4d699f44e65d29b4d49cf68d7a3b4bf856eb5d1b (patch) | |
tree | eb0e792a7eaf5c8257b212f3d9b127685ccd80bc /src/getargs.c | |
parent | 222342aa6708814c01a63ff7d568209d3705ff47 (diff) | |
download | bison-4d699f44e65d29b4d49cf68d7a3b4bf856eb5d1b.tar.gz |
maint: address sc_bindtextdomain, sc_program_name and sc_prohibit_HAVE_MBRTOWC.
* bootstrap.conf (gnulib_modules): Require progname.
* src/complain.c, src/getargs.c, src/getargs.h, src/main.c: Use it.
* cfg.mk (exclude): New.
Use it.
Skip lib/main.c for bindtextdomain and set_program_name.
Diffstat (limited to 'src/getargs.c')
-rw-r--r-- | src/getargs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/getargs.c b/src/getargs.c index e5d1faa3..5e04ab0f 100644 --- a/src/getargs.c +++ b/src/getargs.c @@ -40,6 +40,8 @@ # undef HACK_FOR___GNU_LIBRARY___PROTOTYPE #endif +#include <progname.h> + #include "complain.h" #include "files.h" #include "getargs.h" @@ -75,8 +77,6 @@ int language_prio = default_prio; struct bison_language const *language = &valid_languages[0]; const char *include = NULL; -char *program_name; - /** Decode an option's set of keys. * |