summaryrefslogtreecommitdiff
path: root/functions.c
diff options
context:
space:
mode:
authorLuke Bratch <luke@bratch.co.uk>2019-05-12 21:36:31 +0100
committerLuke Bratch <luke@bratch.co.uk>2019-05-12 21:36:31 +0100
commit03b15b2a99dee16998d08e17652bb49555c8560d (patch)
tree2ba2ea430e1c2ed05c5e9b68c2f7b0d9b925ea70 /functions.c
parentdba30066da1c929a140281cbbb6a8f177fdf14d4 (diff)
Make configuration file path configurable on the command line. Also finish removing the non-functional debug() stuff.
Diffstat (limited to 'functions.c')
-rw-r--r--functions.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/functions.c b/functions.c
index 1d7d7d6..e43f31c 100644
--- a/functions.c
+++ b/functions.c
@@ -1,13 +1,5 @@
#include "functions.h"
-// Print a debugging message, if debugging enabled
-int debugmode;
-void debug(char *string) {
- if (debugmode) {
- printf("DEBUG: %s\n", string);
- }
-}
-
// Get stdin line with buffer overrun protection
int getstdin(char *prompt, char *buff, size_t sz) {
int ch, extra;