mirror of
https://gitlab.com/80486DX2-66/gists
synced 2025-03-10 16:19:10 +05:30
extol.c: move functions below main
This commit is contained in:
parent
dd1d4d5e37
commit
c5adf96adf
@ -19,6 +19,21 @@ enum
|
|||||||
#define EXTOL_FILE_NAME "extol.txt"
|
#define EXTOL_FILE_NAME "extol.txt"
|
||||||
#define EXTOL_FILE_LIMIT 128
|
#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
|
int
|
||||||
extol (FILE *f)
|
extol (FILE *f)
|
||||||
{
|
{
|
||||||
@ -86,14 +101,3 @@ extol_quiet (void)
|
|||||||
{
|
{
|
||||||
extol_interface (EXTOL_QUIET);
|
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;
|
|
||||||
}
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user