[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 11/68] ddb/db_command.c: remove useless forward declaration witho
From: |
Marin Ramesa |
Subject: |
[PATCH 11/68] ddb/db_command.c: remove useless forward declaration without definition |
Date: |
Fri, 29 Nov 2013 22:53:36 +0100 |
* ddb/db_command.c (ddb_display): Remove forward declaration.
Remove ddb_display call.
---
ddb/db_command.c | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/ddb/db_command.c b/ddb/db_command.c
index 833b720..b596e52 100644
--- a/ddb/db_command.c
+++ b/ddb/db_command.c
@@ -395,9 +395,7 @@ db_help_cmd()
db_end_line();
cmd++;
}
-}
-
-int (*ddb_display)();
+}
void
db_command_loop(void)
@@ -413,9 +411,6 @@ db_command_loop(void)
db_prev = db_dot;
db_next = db_dot;
- if (ddb_display)
- (*ddb_display)();
-
db_cmd_loop_done = 0;
while (!db_cmd_loop_done) {
(void) _setjmp(db_recover = &db_jmpbuf);
--
1.8.1.4
- [PATCH 01/68] ddb/db_command.c: remove forward declarations, (continued)
- [PATCH 01/68] ddb/db_command.c: remove forward declarations, Marin Ramesa, 2013/11/29
- [PATCH 05/68] ddb/db_run.c: add comment after endif, Marin Ramesa, 2013/11/29
- [PATCH 02/68] ddb/db_input.c: add comment after endif, Marin Ramesa, 2013/11/29
- [PATCH 04/68] ddb/db_output.c: remove forward declaration, Marin Ramesa, 2013/11/29
- [PATCH 03/68] ddb/db_mp.c: add comment after else and endif, Marin Ramesa, 2013/11/29
- [PATCH 07/68] ddb: new header file db_aout.h, Marin Ramesa, 2013/11/29
- [PATCH 06/68] ddb/db_aout.c: trivial stylistic fix for consistency, Marin Ramesa, 2013/11/29
- [PATCH 09/68] ddb/db_sym.c: fix argument list, Marin Ramesa, 2013/11/29
- [PATCH 08/68] ddb/db_sym.c: remove useless forward declarations without definitions, Marin Ramesa, 2013/11/29
- [PATCH 10/68] ddb/db_command.c: remove forward declaration, Marin Ramesa, 2013/11/29
- [PATCH 11/68] ddb/db_command.c: remove useless forward declaration without definition,
Marin Ramesa <=
- [PATCH 12/68] ddb/db_trap.c: remove forward declarations, Marin Ramesa, 2013/11/29
- [PATCH 13/68] ddb/db_variables.c: remove forward declarations, Marin Ramesa, 2013/11/29
- [PATCH 14/68] device/device_init.c: remove forward declarations, Marin Ramesa, 2013/11/29
- [PATCH 15/68] i386/i386/db_trace.c: remove forward declaration, Marin Ramesa, 2013/11/29
- [PATCH 16/68] i386/i386/fpu.c, trap.c: remove forward declarations, Marin Ramesa, 2013/11/29
- [PATCH 17/68] i386/i386/fpu.c: remove (#if 1), Marin Ramesa, 2013/11/29
- [PATCH 18/68] i386/i386/io_perm.c: remove forward declaration, Marin Ramesa, 2013/11/29
- [PATCH 19/68] i386/i386/ldt.c: remove useless forward declaration without definition, Marin Ramesa, 2013/11/29