From 88d8be06f3e5411db6faa59db12210b6079f7d21 Mon Sep 17 00:00:00 2001 From: Hampus Date: Tue, 14 Dec 2021 00:01:35 +0100 Subject: refactor: restructure project --- utils.c | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 utils.c (limited to 'utils.c') diff --git a/utils.c b/utils.c deleted file mode 100644 index ce3dcd4..0000000 --- a/utils.c +++ /dev/null @@ -1,17 +0,0 @@ -#include "utils.h" -#include -#include - -/** - * Returns whether or not a string is a number. - */ -int is_number(char *str) -{ - size_t len = strlen(str); - for (int c = 0; c < len; c++) - { - if (!isdigit(str[c])) - return 0; - } - return 1; -} \ No newline at end of file -- cgit v1.2.3-18-g5258