diff -r fc585645ad05 -r aae5facf9fc5 util.c --- a/util.c Mon Feb 16 18:09:03 2004 +0100 +++ b/util.c Mon Feb 16 18:50:28 2004 +0100 @@ -25,35 +25,35 @@ void libtu_init(const char *argv0) { - progname=argv0; - + progname=argv0; + #ifdef CONFIG_LOCALE - textdomain(simple_basename(argv0)); + textdomain(simple_basename(argv0)); #endif } void libtu_init_copt(int argc, char *const argv[], - const OptParserCommonInfo *cinfo) + const OptParserCommonInfo *cinfo) { - int opt; - - libtu_init(argv[0]); - - optparser_init(argc, argv, OPTP_DEFAULT, NULL, cinfo); - - while((opt=optparser_get_opt())){ - switch(opt){ - default: - optparser_print_error(); - exit(EXIT_FAILURE); - } - } + int opt; + + libtu_init(argv[0]); + + optparser_init(argc, argv, OPTP_DEFAULT, NULL, cinfo); + + while((opt=optparser_get_opt())){ + switch(opt){ + default: + optparser_print_error(); + exit(EXIT_FAILURE); + } + } } const char *prog_execname() { - return progname; + return progname; }