Browse Source

Cleanup

master
Kirill Nikolaev 1 month ago
parent
commit
fa6555a1bb
Signed by: sokket <sokket@oceancraft.ru> GPG Key ID: 082FDA12D688C5C1
1 changed files with 0 additions and 11 deletions
  1. +0
    -11
      main.c

+ 0
- 11
main.c View File

@@ -14,17 +14,6 @@ char *trim(char *s) {
return s;
}

int str_contains(char *token, char s) {
if (!token || s == '\0')
return 0;

for (; *token; token++)
if (*token == s)
return 1;

return 0;
}

int is_number(char *s) {
while (*s) {
if (!isdigit(*s) && *s != '.')


Loading…
Cancel
Save