aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--utils.c9
-rw-r--r--utils.h6
2 files changed, 0 insertions, 15 deletions
diff --git a/utils.c b/utils.c
deleted file mode 100644
index 6a42a7c..0000000
--- a/utils.c
+++ /dev/null
@@ -1,9 +0,0 @@
-#include "utils.h"
-
-#include <stdlib.h>
-#include <string.h>
-
-int is_debug() {
- char* env = getenv("DEBUG");
- return env && (strcmp(env, "true") == 0 || strcmp(env, "1") == 0);
-}
diff --git a/utils.h b/utils.h
deleted file mode 100644
index b274877..0000000
--- a/utils.h
+++ /dev/null
@@ -1,6 +0,0 @@
-#ifndef SF_UTILS_H
-#define SF_UTILS_H
-
-int is_debug();
-
-#endif /* SF_UTILS_H */