summaryrefslogtreecommitdiff
path: root/i386
diff options
context:
space:
mode:
authorMarin Ramesa <mpr@hi.t-com.hr>2013-12-08 12:40:07 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-12-09 00:44:58 +0900
commit1e2f0bcecaecb516d123db6d760c296f718bbcc1 (patch)
treea7305bc51c763517847d14ae8552f22456402a2a /i386
parenta6513fde6d4ae0ae6759a9a6b0f805b3e4921c22 (diff)
i386/i386/db_interface.c: remove forward declaration
* i386/i386/db_interface.c (db_write_bytes_user_space): Remove forward declaration. * i386/i386/db_interface.h (db_write_bytes_user_space): Add prototype.
Diffstat (limited to 'i386')
-rw-r--r--i386/i386/db_interface.c1
-rw-r--r--i386/i386/db_interface.h7
2 files changed, 7 insertions, 1 deletions
diff --git a/i386/i386/db_interface.c b/i386/i386/db_interface.c
index a59ed37..15e486b 100644
--- a/i386/i386/db_interface.c
+++ b/i386/i386/db_interface.c
@@ -505,7 +505,6 @@ db_write_bytes(
pt_entry_t *ptep1 = 0;
pt_entry_t oldmap1 = 0;
extern char etext;
- void db_write_bytes_user_space();
if ((addr < VM_MIN_KERNEL_ADDRESS) ^
((addr + size) <= VM_MIN_KERNEL_ADDRESS)) {
diff --git a/i386/i386/db_interface.h b/i386/i386/db_interface.h
index e43771e..8f27649 100644
--- a/i386/i386/db_interface.h
+++ b/i386/i386/db_interface.h
@@ -120,4 +120,11 @@ extern void db_load_context(pcb_t pcb);
extern void cnpollc(boolean_t on);
+void
+db_write_bytes_user_space(
+ vm_offset_t addr,
+ int size,
+ char *data,
+ task_t task);
+
#endif /* _I386_DB_INTERFACE_H_ */