diff options
author | David Phillips <dbphillipsnz@gmail.com> | 2015-09-01 17:23:34 +1200 |
---|---|---|
committer | David Phillips <dbphillipsnz@gmail.com> | 2015-09-01 17:23:34 +1200 |
commit | 956a6261ebfdf8fb3346b8935d0ec59c1c26df7c (patch) | |
tree | 55bedcb77c2066352e107f564062d8fff61008b4 /common.h | |
parent | 266cb3f209e752856b832af008cf7aba40be3cba (diff) | |
download | paramano-956a6261ebfdf8fb3346b8935d0ec59c1c26df7c.tar.xz |
Cleaning up common functions
Diffstat (limited to 'common.h')
-rw-r--r-- | common.h | 11 |
1 files changed, 5 insertions, 6 deletions
@@ -21,12 +21,11 @@ #include <stdarg.h> -int get_int_value_from_filef(const char* format, ...); -int vget_int_value_from_filef(const char* format, va_list args); -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); -FILE *check_for_file(char* path); +int get_int_value_from_filef(const char* format, ...); +int vget_int_value_from_filef(const char* format, va_list args); +int get_int_value_from_file(const char* filename); +void chomp(char *string); +int get_int(const char* string); // <ew> Stringification of line number #define STRING2(x) #x |