summaryrefslogtreecommitdiff
path: root/ddb
diff options
context:
space:
mode:
authorMarin Ramesa <mpr@hi.t-com.hr>2013-12-06 16:29:43 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-12-09 00:34:05 +0900
commit8a5a8391c195ac46745825634755f41e8e31260c (patch)
treedae12cd592677d661c1819915bbad92284bdf182 /ddb
parent1e10bea11c5e4789fa36592998312d84efe09158 (diff)
ddb/db_output.c: remove forward declaration
* ddb/db_input.h (db_check_interrupt): Add prototype. * ddb/db_output.c: Include ddb/db_input.h. (db_check_interrupt): Remove forward declaration.
Diffstat (limited to 'ddb')
-rw-r--r--ddb/db_input.h2
-rw-r--r--ddb/db_output.c3
2 files changed, 3 insertions, 2 deletions
diff --git a/ddb/db_input.h b/ddb/db_input.h
index 316e3268..77f07bb6 100644
--- a/ddb/db_input.h
+++ b/ddb/db_input.h
@@ -25,4 +25,6 @@
extern int db_readline (char *lstart, int lsize);
+extern void db_check_interrupt(void);
+
#endif /* _DDB_DB_INPUT_H_ */
diff --git a/ddb/db_output.c b/ddb/db_output.c
index 91ade913..e0ea2f3f 100644
--- a/ddb/db_output.c
+++ b/ddb/db_output.c
@@ -42,6 +42,7 @@
#include <ddb/db_command.h>
#include <ddb/db_lex.h>
#include <ddb/db_output.h>
+#include <ddb/db_input.h>
/*
* Character output - tracks position in line.
@@ -74,8 +75,6 @@ int db_tab_stop_width = 8; /* how wide are tab stops? */
int db_max_line = DB_MAX_LINE; /* output max lines */
int db_max_width = DB_MAX_WIDTH; /* output line width */
-extern void db_check_interrupt();
-
/*
* Force pending whitespace.
*/