summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarin Ramesa <mpr@hi.t-com.hr>2013-12-08 12:40:30 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-12-09 00:59:16 +0900
commite95d650716ec19e450baf1249d4d21025a8a289f (patch)
tree0ec01c9569ab96585d782f8f54f081ff0405fd49
parentf2ceb891968886c2e1804b57070fe1376be6d646 (diff)
ddb/db_trap.c (db_task_trap): remove forward declarations
* 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.
-rw-r--r--ddb/db_break.h2
-rw-r--r--ddb/db_trap.c2
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);