bug-hurd
[Top][All Lists]
Advanced

[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




reply via email to

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