summaryrefslogtreecommitdiff
path: root/maje.h
diff options
context:
space:
mode:
Diffstat (limited to 'maje.h')
-rw-r--r--maje.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/maje.h b/maje.h
index e51fe6b..5a3cc89 100644
--- a/maje.h
+++ b/maje.h
@@ -4,12 +4,13 @@
#include <sys/stat.h>
struct majefile {
+ struct majefile *next;
struct stat st;
char path[];
};
-struct majefile **find_source_files(const char *path);
-char *find_main(struct majefile **sources);
-void make_makefile(const char *makefile, struct majefile **sources, const char *target);
+struct majefile *find_source_files(const char *path);
+char *find_main(struct majefile *sources);
+void make_makefile(const char *makefile, struct majefile *sources, const char *target);
#endif