]> git.armaanb.net Git - libacheam.git/blobdiff - src/toupperw.c
Add tests, restructure repo, and add static target
[libacheam.git] / src / toupperw.c
diff --git a/src/toupperw.c b/src/toupperw.c
deleted file mode 100644 (file)
index 99ac102..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-#include <ctype.h>
-#include <stdlib.h>
-#include <string.h>
-
-char *
-toupperw(char *inp)
-{
-       char *tmp = calloc(strlen(inp), sizeof(char));
-       strcpy(tmp, inp);
-       for (int i = 0; tmp[i]; i++){
-               tmp[i] = toupper(tmp[i]);
-       }
-       return tmp;
-}
-