return true;
}
-FILE *open_score_file(char *mode)
+FILE *
+open_score_file(char *mode)
{
return fopen("scores", mode);
}
}
static bool
-is_file(char *dirname)
+is_file(char *filename)
{
struct stat buf;
- if(stat(dirname, &buf)) {
+ if(stat(filename, &buf)) {
return false;
}
return S_ISREG(buf.st_mode);