diff options
Diffstat (limited to 'mdk-stage1/tools.c')
-rw-r--r-- | mdk-stage1/tools.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/mdk-stage1/tools.c b/mdk-stage1/tools.c index baba72b0d..8fc6864b5 100644 --- a/mdk-stage1/tools.c +++ b/mdk-stage1/tools.c @@ -612,3 +612,12 @@ int scall_(int retval, char * msg, char * file, int line) log_perror(tmp); return retval; } + +void lowercase(char *s) +{ + int i = 0; + while (s[i]) { + s[i] = tolower(s[i]); + i++; + } +} |