diff options
author | Thomas White <taw@physics.org> | 2018-03-11 23:17:06 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2018-03-11 23:21:52 +0100 |
commit | c7a86a47001baca65c87d0f060f9a57af8537cf2 (patch) | |
tree | b5a2ae1e710d7efc1e6830f3323edab5082d5759 /src/colloquium.c | |
parent | 2975d15b76c5321d9facae06266fbc17dc99492b (diff) |
Rename some functions to make them unique
Makes things less confusing.
Ulterior motive: makes Meson unity builds work.
Diffstat (limited to 'src/colloquium.c')
-rw-r--r-- | src/colloquium.c | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/src/colloquium.c b/src/colloquium.c index 84dc73d..830c2f7 100644 --- a/src/colloquium.c +++ b/src/colloquium.c @@ -36,6 +36,7 @@ #include "colloquium.h" #include "presentation.h" #include "narrative_window.h" +#include "utils.h" struct _colloquium @@ -236,21 +237,6 @@ static void create_config(const char *filename) } -static void chomp(char *s) -{ - size_t i; - - if ( !s ) return; - - for ( i=0; i<strlen(s); i++ ) { - if ( (s[i] == '\n') || (s[i] == '\r') ) { - s[i] = '\0'; - return; - } - } -} - - static void read_config(const char *filename, Colloquium *app) { FILE *fh; |