* ddb/db_output.c (db_check_interrupt): Remove forward declaration. * ddb/db_output.h (db_check_interrupt): Add prototype.
--- ddb/db_output.c | 2 -- ddb/db_output.h | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/ddb/db_output.c b/ddb/db_output.c index c08db6f..b63813b 100644 --- a/ddb/db_output.c +++ b/ddb/db_output.c @@ -74,8 +74,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. */ diff --git a/ddb/db_output.h b/ddb/db_output.h index e7a4ba3..4c50f1b 100644 --- a/ddb/db_output.h +++ b/ddb/db_output.h @@ -41,5 +41,6 @@ extern void db_end_line(void); extern void db_printf(const char *fmt, ...); extern void db_putchar(int c); extern void kdbprintf(const char *fmt, ...); +void db_check_interrupt(void); #endif /* _DDB_DB_OUTPUT_H_ */ -- 1.8.1.4