Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
vor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
surf_screen and t_frame are globals; stopped passing them as arguments.
[vor.git]
/
file.h
diff --git
a/file.h
b/file.h
index
f9249e9
..
51045cc
100644
(file)
--- a/
file.h
+++ b/
file.h
@@
-19,19
+19,11
@@
#ifndef VOR_FILE_H
#define VOR_FILE_H
#ifndef VOR_FILE_H
#define VOR_FILE_H
+#include <stdbool.h>
#include <stdio.h>
#include <stdio.h>
-#include <sys/types.h>
-
-extern char *g_data_dir;
-extern char *g_score_file;
-extern mode_t g_score_mode;
char *add_data_path(char *filename);
char *add_data_path(char *filename);
-int is_dir(char *dirname);
-int is_file(char *filename);
-int find_data_dir(void);
-int find_score_file(void);
-int find_files(void);
+bool find_files(void);
FILE *open_score_file(char *mode);
#endif // VOR_FILE_H
FILE *open_score_file(char *mode);
#endif // VOR_FILE_H