diff --git a/c-programming/jokes/extol.c b/c-programming/jokes/extol.c index f4c5fe9..d641094 100644 --- a/c-programming/jokes/extol.c +++ b/c-programming/jokes/extol.c @@ -19,6 +19,21 @@ enum #define EXTOL_FILE_NAME "extol.txt" #define EXTOL_FILE_LIMIT 128 +int extol (FILE *f); +int extol_interface (signed char type); +void extol_quiet (void); + +int +main (void) +{ + int i; + + for (i = 0; i < 2; i++) + printf (EXTOL_PROTOTYPE ": %d\n", extol_interface (EXTOL_NORMAL)); + atexit (&extol_quiet); + return 0; +} + int extol (FILE *f) { @@ -86,14 +101,3 @@ extol_quiet (void) { extol_interface (EXTOL_QUIET); } - -int -main (void) -{ - int i; - - for (i = 0; i < 2; i++) - printf (EXTOL_PROTOTYPE ": %d\n", extol_interface (EXTOL_NORMAL)); - atexit (&extol_quiet); - return 0; -}