summaryrefslogtreecommitdiff
path: root/src/util.hpp
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2016-09-17 09:58:14 +0200
committerBardur Arantsson <bardur@scientician.net>2016-09-17 09:58:14 +0200
commit6006546b4d015619b7d119d400fac819da6bc826 (patch)
tree2a1704a5c22cf2485917185316af0a5417a3de55 /src/util.hpp
parent6adef091b0713941e1149ecf21a5ab6feee3b06d (diff)
Factor out 'flush_failure' option handling
Diffstat (limited to 'src/util.hpp')
-rw-r--r--src/util.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util.hpp b/src/util.hpp
index 583fd4aa..2953ca11 100644
--- a/src/util.hpp
+++ b/src/util.hpp
@@ -24,6 +24,7 @@ extern errr fd_read(int fd, char *buf, huge n);
extern errr fd_write(int fd, cptr buf, huge n);
extern errr fd_close(int fd);
extern void flush(void);
+extern void flush_on_failure();
extern void move_cursor(int row, int col);
extern void text_to_ascii(char *buf, cptr str);
extern void ascii_to_text(char *buf, cptr str);