aboutsummaryrefslogtreecommitdiff
path: root/src/input.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/input.h')
-rw-r--r--src/input.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/input.h b/src/input.h
index 7085bac..13a53d5 100644
--- a/src/input.h
+++ b/src/input.h
@@ -9,4 +9,7 @@ int prompt_yes_no(void);
void remove_ending_newline(char *str);
+/* Readline wrapper that aborts if readline returns NULL. */
+char *readline_with_check(const char *prompt);
+
#endif