1
0
mirror of https://gitlab.com/80486DX2-66/gists synced 2024-11-14 02:15:53 +05:30

extol.c: move functions below main

This commit is contained in:
Intel A80486DX2-66 2024-03-27 01:32:03 +03:00
parent dd1d4d5e37
commit c5adf96adf
Signed by: 80486DX2-66
GPG Key ID: 83631EF27054609B

View File

@ -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;
}