From be8f26b069de778474eb634dcf3f53f5ec133002 Mon Sep 17 00:00:00 2001 From: Hampus Date: Wed, 5 Jan 2022 21:57:09 +0100 Subject: refactor: delete unused utility function --- src/utils.c | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'src/utils.c') diff --git a/src/utils.c b/src/utils.c index da48ef6..760589c 100644 --- a/src/utils.c +++ b/src/utils.c @@ -4,18 +4,6 @@ #include #include -int is_number(char *str) -{ - unsigned int length = strlen(str); - - for (unsigned int c = 0; c < length; c++) - if (!isdigit(str[c])) - return 0; - - return 1; -} - - void *malloc_s(unsigned long amount) { void *memory = malloc(amount); -- cgit v1.2.3-18-g5258