[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 28/28] ddb/db_trap.c (db_task_trap): remove forward declarations
From: |
Marin Ramesa |
Subject: |
[PATCH 28/28] ddb/db_trap.c (db_task_trap): remove forward declarations |
Date: |
Sun, 8 Dec 2013 12:40:30 +0100 |
* ddb/db_break.h (db_check_breakpoint_valid): Add prototype.
* ddb/db_trap.c (db_init_default_thread, db_check_breakpoint_valid): Remove
forward declarations.
---
ddb/db_break.h | 2 ++
ddb/db_trap.c | 2 --
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/ddb/db_break.h b/ddb/db_break.h
index 89e7889..e323a5f 100644
--- a/ddb/db_break.h
+++ b/ddb/db_break.h
@@ -98,4 +98,6 @@ void db_breakpoint_cmd(
db_expr_t count,
char * modif);
+extern void db_check_breakpoint_valid(void);
+
#endif /* _DDB_DB_BREAK_H_ */
diff --git a/ddb/db_trap.c b/ddb/db_trap.c
index d2abfbd..28f64d1 100644
--- a/ddb/db_trap.c
+++ b/ddb/db_trap.c
@@ -61,8 +61,6 @@ db_task_trap(type, code, user_space)
jmp_buf_t *prev;
boolean_t bkpt;
boolean_t watchpt;
- void db_init_default_thread();
- void db_check_breakpoint_valid();
task_t task_space;
task_space = db_target_space(current_thread(), user_space);
--
1.8.1.4
- [PATCH 21/28] ddb/db_expr.c (db_mult_expr): remove unnecessary variable, (continued)
- [PATCH 21/28] ddb/db_expr.c (db_mult_expr): remove unnecessary variable, Marin Ramesa, 2013/12/08
- [PATCH 22/28] ddb/db_expr.c (db_add_expr): remove unnecessary variable, Marin Ramesa, 2013/12/08
- [PATCH 23/28] ddb/db_mp.c: use boolean instead of an int, Marin Ramesa, 2013/12/08
- [PATCH 24/28] ddb/db_mp.c (remote_db): comment the call to cpu_interrupt_to_db(), Marin Ramesa, 2013/12/08
- [PATCH 25/28] ddb/db_mp.c: definition of db_console() only if CONSOLE_ON_MASTER, Marin Ramesa, 2013/12/08
- [PATCH 26/28] ddb/db_print.c: use unsigned long instead of an unsigned int, Marin Ramesa, 2013/12/08
- [PATCH 27/28] Use db_addr_t instead of db_expr_t, Marin Ramesa, 2013/12/08
- [PATCH 28/28] ddb/db_trap.c (db_task_trap): remove forward declarations,
Marin Ramesa <=
- Re: [PATCH 01/28] chips/busses.h: use boolean instead of a char, Samuel Thibault, 2013/12/08