summaryrefslogtreecommitdiff
path: root/ddb/db_run.h
diff options
context:
space:
mode:
authorMarin Ramesa <mpr@hi.t-com.hr>2013-11-22 18:30:35 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-11-24 23:08:07 +0100
commit8abd38165bc354ab709042d560c948e845e19279 (patch)
tree3c592ad59da23cf0b6dcd8351bd844946404f6df /ddb/db_run.h
parent9eedb4a3bef454d79f1309f963f0faeb7ca0efa0 (diff)
ddb: move forward declarations into a header file
* ddb/db_run.c (db_set_task_single_step, db_clear_task_single_step): Remove forward declarations. * ddb/db_run.h (db_set_task_single_step, db_clear_task_single_step): Add prototypes.
Diffstat (limited to 'ddb/db_run.h')
-rw-r--r--ddb/db_run.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/ddb/db_run.h b/ddb/db_run.h
index ee6e6f5..241852f 100644
--- a/ddb/db_run.h
+++ b/ddb/db_run.h
@@ -68,6 +68,17 @@ void db_continue_cmd(
db_expr_t count,
char * modif);
+#ifndef db_set_single_step
+void db_set_task_single_step(db_regs_t *, task_t);
+#else
+#define db_set_task_single_step(regs, task) db_set_single_step(regs)
+#endif
+#ifndef db_clear_single_step
+void db_clear_task_single_step(db_regs_t *, task_t);
+#else
+#define db_clear_task_single_step(regs, task) db_clear_single_step(regs)
+#endif
+
extern boolean_t db_in_single_step(void);
#endif /* _DDB_DB_RUN_H_ */