From 1e2f0bcecaecb516d123db6d760c296f718bbcc1 Mon Sep 17 00:00:00 2001 From: Marin Ramesa Date: Sun, 8 Dec 2013 12:40:07 +0100 Subject: 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. --- i386/i386/db_interface.c | 1 - i386/i386/db_interface.h | 7 +++++++ 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'i386') 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_ */ -- cgit v1.2.3