summaryrefslogtreecommitdiff
path: root/misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc.c')
-rw-r--r--misc.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/misc.c b/misc.c
index 9de0044..df95051 100644
--- a/misc.c
+++ b/misc.c
@@ -1,11 +1,13 @@
+#include "misc.h"
//for reading from stdin
#include <string.h>
+#include <stdio.h>
#define OK 0
#define NO_INPUT 1
#define TOO_LONG 2
-static int getLine (char *prmpt, char *buff, size_t sz) {
+int getLine (char *prmpt, char *buff, size_t sz) {
int ch, extra;
// Get line with buffer overrun protection.