aboutsummaryrefslogtreecommitdiffstats
path: root/highscore.c
diff options
context:
space:
mode:
Diffstat (limited to 'highscore.c')
-rw-r--r--highscore.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/highscore.c b/highscore.c
index e7a4073..77a8664 100644
--- a/highscore.c
+++ b/highscore.c
@@ -27,13 +27,13 @@ void highscore_load(void)
if ( !f )
return;
- highscore_parse(f, fgets, 1);
+ highscore_parse(f, 1);
fclose(f);
}
void highscore_download(void)
{
- netcon_t n;
+ FILE *n;
if ( opt.nonet )
return;
@@ -42,8 +42,8 @@ void highscore_download(void)
if ( !n )
return;
- highscore_parse(n, fgets_network, 0);
- fclose_network(n);
+ highscore_parse(n, 0);
+ fclose(n);
}
void highscore_save(void)
@@ -54,13 +54,13 @@ void highscore_save(void)
if ( !f )
return;
- highscore_write(f, fputs, 1);
+ highscore_write(f, 1);
fclose(f);
}
void highscore_upload(void)
{
- netcon_t n;
+ FILE *n;
if ( opt.nonet )
return;
@@ -74,8 +74,8 @@ void highscore_upload(void)
if ( !n )
return;
- highscore_write(n, fputs_network, 0);
- fclose_network(n);
+ highscore_write(n, 0);
+ fclose(n);
}
/*