diff options
author | Marin Ramesa <mpr@hi.t-com.hr> | 2013-11-29 22:53:40 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-12-05 05:59:14 +0900 |
commit | eecf95e4455a50b6f1738f91da00171a8056ad16 (patch) | |
tree | 6dec33b2bf6d30d721ea540de3e3be2f15a0c77b | |
parent | fc1923a79c2f4e0b3a64792ff423cbd75d05108b (diff) |
i386/i386/db_trace.c: remove forward declaration
* i386/i386/db_interface.h: Include ddb/db_variables.h.
(db_i386_reg_value): Add prototype.
* i386/i386/db_trace.c (db_i386_reg_value): Remove forward declaration.
-rw-r--r-- | i386/i386/db_interface.h | 8 | ||||
-rw-r--r-- | i386/i386/db_trace.c | 7 |
2 files changed, 8 insertions, 7 deletions
diff --git a/i386/i386/db_interface.h b/i386/i386/db_interface.h index e4ae140..e43771e 100644 --- a/i386/i386/db_interface.h +++ b/i386/i386/db_interface.h @@ -25,6 +25,7 @@ #include <kern/task.h> #include <machine/thread.h> #include <ddb/db_watch.h> +#include <ddb/db_variables.h> extern boolean_t kdb_trap ( int type, @@ -99,6 +100,13 @@ db_stack_trace_cmd( extern void db_reset_cpu(void); +void +db_i386_reg_value( + struct db_variable *vp, + db_expr_t *valuep, + int flag, + struct db_var_aux_param *ap); + #endif extern void db_get_debug_state( diff --git a/i386/i386/db_trace.c b/i386/i386/db_trace.c index 4c56938..3a5148a 100644 --- a/i386/i386/db_trace.c +++ b/i386/i386/db_trace.c @@ -46,13 +46,6 @@ #include "trap.h" -void -db_i386_reg_value( - struct db_variable *vp, - db_expr_t *valuep, - int flag, - struct db_var_aux_param *ap); /* forward */ - /* * Machine register set. */ |