diff options
Diffstat (limited to 'util.c')
-rw-r--r-- | util.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/util.c b/util.c index 790c6a24..58f4fbf1 100644 --- a/util.c +++ b/util.c @@ -25,8 +25,6 @@ #include <ctype.h> #include <stdlib.h> -#include <glib.h> - void get_time(char *thetime) { time_t rawtime; @@ -38,14 +36,6 @@ void get_time(char *thetime) strftime(thetime, 80, "%H:%M", timeinfo); } -char *trim(char *str) -{ - if (str == NULL) - return NULL; - - return g_strstrip(str); -} - char * str_replace (const char *string, const char *substr, const char *replacement) { char *tok = NULL; |