bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 01/18] ddb/db_output.c: remove forward declaration


From: Marin Ramesa
Subject: [PATCH 01/18] ddb/db_output.c: remove forward declaration
Date: Fri, 6 Dec 2013 16:29:43 +0100

* 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(-)

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 c08db6f..b1666ba 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.
  */
-- 
1.8.1.4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]