aboutsummaryrefslogtreecommitdiff
path: root/src/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util.c')
-rw-r--r--src/util.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/util.c b/src/util.c
index ebae1e6..3b6909d 100644
--- a/src/util.c
+++ b/src/util.c
@@ -25,16 +25,3 @@ trim(char *s)
{
return rtrim(ltrim(s));
}
-
-char *
-remove_spaces(char *str)
-{
- int count = 0;
-
- for (int i = 0; str[i]; i++)
- if (!isspace(str[i]))
- str[count++] = str[i];
- str[count] = '\0';
-
- return str;
-}