aboutsummaryrefslogtreecommitdiff
path: root/common.h
diff options
context:
space:
mode:
authorDavid <dbphillipsnz@gmail.com>2014-04-30 13:07:39 +1200
committerDavid <dbphillipsnz@gmail.com>2014-04-30 13:07:39 +1200
commit4ec5aa223ec7c1e727ea2497936cbab5e3e57463 (patch)
tree842cf6bbac21617a0361fd5cd1a7dec5c039566b /common.h
parentb7d55116cc2c6a53891ea0d20686c79a6dd803bd (diff)
downloadparamano-4ec5aa223ec7c1e727ea2497936cbab5e3e57463.tar.xz
General tidy-up
Diffstat (limited to 'common.h')
-rw-r--r--common.h14
1 files changed, 9 insertions, 5 deletions
diff --git a/common.h b/common.h
index bf59513..6bb7a40 100644
--- a/common.h
+++ b/common.h
@@ -17,12 +17,16 @@
************************************************************************/
#ifndef COMMON_H
-#define COMMON_H 1
+#define COMMON_H
-#include <stdbool.h>
+#include "bool.h"
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
-int get_int_value_from_file(const char* filename);
+
+int get_int_value_from_file(const char* filename);
+int get_int(const char* string);
bool file_has_line(const char *filename, const char *line);
-int get_int(const char* string);
-#endif \ No newline at end of file
+#endif