diff options
Diffstat (limited to 'src/utils.c')
-rw-r--r-- | src/utils.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/utils.c b/src/utils.c index 9cd2190ed..57d1f30fa 100644 --- a/src/utils.c +++ b/src/utils.c @@ -24,7 +24,6 @@ #include <assert.h> #include <string.h> -#include <ctype.h> #include <sys/types.h> #include <pwd.h> #include <fcntl.h> @@ -45,23 +44,6 @@ char *myFgets(char *buffer, int bufferSize, FILE * fp) return ret; } -char *string_toupper(char *str) -{ - int i = strlen(str); - char *ret = str; - - for (; --i >= 0; ++str) - *str = toupper((int)(*str)); - - return ret; - -} - -char *strDupToUpper(char *str) -{ - return string_toupper(xstrdup(str)); -} - void stripReturnChar(char *string) { while (string && (string = strchr(string, '\n'))) { |