aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRaghuram Subramani <raghus2247@gmail.com>2025-07-26 16:58:04 +0530
committerRaghuram Subramani <raghus2247@gmail.com>2025-07-26 16:58:04 +0530
commita3b18ea4019f44185a495afd4be66350f217c144 (patch)
tree1a9df6bb9a07c91c5f7a42eb37f22c2e1aa4a8e3 /src
parent8c55fba42e7a017ca06bcd1725c84674a5088310 (diff)
util: delete remove_spaces()
Diffstat (limited to 'src')
-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;
-}