From 8a5a8391c195ac46745825634755f41e8e31260c Mon Sep 17 00:00:00 2001 From: Marin Ramesa Date: Fri, 6 Dec 2013 16:29:43 +0100 Subject: 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. --- ddb/db_input.h | 2 ++ ddb/db_output.c | 3 +-- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'ddb') diff --git a/ddb/db_input.h b/ddb/db_input.h index 316e326..77f07bb 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 91ade91..e0ea2f3 100644 --- a/ddb/db_output.c +++ b/ddb/db_output.c @@ -42,6 +42,7 @@ #include #include #include +#include /* * 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. */ -- cgit v1.2.3