[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
- [PATCH 01/18] ddb/db_output.c: remove forward declaration,
Marin Ramesa <=
- [PATCH 04/18] i386/i386at/pic_isa.c: remove forward declaration, Marin Ramesa, 2013/12/06
- [PATCH 03/18] i386/i386at/model_dep.c: fix argument list, Marin Ramesa, 2013/12/06
- [PATCH 05/18] vm/vm_pageout.c: remove forward declarations, Marin Ramesa, 2013/12/06
- [PATCH 06/18] vm/vm_object.c: remove unused variable, Marin Ramesa, 2013/12/06
- [PATCH 07/18] vm/vm_map.c: use boolean instead of an int, Marin Ramesa, 2013/12/06
- [PATCH 02/18] i386/i386at/lpr.c: fix argument list, Marin Ramesa, 2013/12/06
- [PATCH 08/18] kern/boot_script.c: move struct definitions to a header file, Marin Ramesa, 2013/12/06
- [PATCH 09/18] kern/bootstrap.c: move struct definition to a header file, Marin Ramesa, 2013/12/06