diff --git a/src/yait.c b/src/yait.c index fbc0481..f605d55 100644 --- a/src/yait.c +++ b/src/yait.c @@ -8,6 +8,7 @@ // Usage: yait [OPTION]... +#include #include #include #include @@ -22,8 +23,6 @@ #include #include -#include - #include "licence.h" #include "../lib/err.h" #include "../lib/fs.h" @@ -105,16 +104,15 @@ int main(int argc, char **argv) int optc; int lose = 0; char *package; - set_prog_name(argv[0]); - - exit_status = EXIT_SUCCESS; bool quiet = false; bool force = false; bool editor = false; bool shell = false; char *author = get_name(); + exit_status = EXIT_SUCCESS; int year = get_year(); licence_t licence = BSD; + set_prog_name(argv[0]); parse_standard_options(argc, argv, print_help, print_version);