From bc85b8639e6a4f3133d8bf10161a5947dfb5b29d Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Mon, 30 Apr 2007 20:30:11 +0000 Subject: 2007-04-30 Thomas Schwinge We're not in the eighties anymore. List arguments in function prototypes and definitions for a lot of symbols. Also drop some unused prototypes. I refrain from listing every changed symbol. * chips/busses.h: Do as described. * ddb/db_break.c: Likewise. * ddb/db_break.h: Likewise. * ddb/db_command.c: Likewise. * ddb/db_command.h: Likewise. * ddb/db_lex.c: Likewise. * ddb/db_lex.h: Likewise. * ddb/db_output.c: Likewise. * ddb/db_output.h: Likewise. * ddb/db_sym.h: Likewise. * ddb/db_task_thread.c: Likewise. * ddb/db_task_thread.h: Likewise. * ddb/db_variables.h: Likewise. * ddb/db_watch.c: Likewise. * ddb/db_watch.h: Likewise. * device/buf.h: Likewise. * device/conf.h: Likewise. * device/dev_hdr.h: Likewise. * device/ds_routines.h: Likewise. * device/if_ether.h: Likewise. * device/io_req.h: Likewise. * device/net_io.h: Likewise. * i386/i386/io_port.h: Likewise. * i386/i386/lock.h: Likewise. * i386/i386/mp_desc.c: Likewise. * i386/i386/mp_desc.h: Likewise. * i386/i386/proc_reg.h: Likewise. * i386/i386/user_ldt.h: Likewise. * i386/i386at/kd_queue.h: Likewise. * i386/i386at/kdsoft.h: Likewise. * i386/intel/pmap.c: Likewise. * i386/intel/pmap.h: Likewise. * include/mach/mach_traps.h: Likewise. * ipc/ipc_entry.h: Likewise. * ipc/ipc_hash.h: Likewise. * ipc/ipc_kmsg.h: Likewise. * ipc/ipc_marequest.c: Likewise. * ipc/ipc_marequest.h: Likewise. * ipc/ipc_mqueue.h: Likewise. * ipc/ipc_notify.h: Likewise. * ipc/ipc_object.h: Likewise. * ipc/ipc_port.h: Likewise. * ipc/ipc_pset.h: Likewise. * ipc/ipc_right.h: Likewise. * ipc/ipc_space.h: Likewise. * ipc/ipc_table.h: Likewise. * ipc/mach_msg.c: Likewise. * ipc/mach_msg.h: Likewise. * kern/ast.c: Likewise. * kern/ast.h: Likewise. * kern/debug.c: Likewise. * kern/debug.h: Likewise. * kern/ipc_tt.c: Likewise. * kern/ipc_tt.h: Likewise. * kern/mach_factor.c: Likewise. * kern/mach_factor.h: Likewise. * kern/printf.c: Likewise. * kern/printf.h: Likewise. * kern/queue.h: Likewise. * kern/sched.h: Likewise. * kern/syscall_subr.c: Likewise. * kern/syscall_subr.h: Likewise. * kern/task.h: Likewise. * kern/thread_swap.c: Likewise. * kern/thread_swap.h: Likewise. * kern/timer.h: Likewise. * kern/xpr.c: Likewise. * kern/xpr.h: Likewise. * kern/zalloc.c: Likewise. * kern/zalloc.h: Likewise. * ipc/ipc_port.h: Don't include . * device/net_io.h: Include and . * ipc/ipc_entry.h: Include and . * ipc/ipc_kmsg.h: Include , and . * ipc/ipc_marequest.h: Include and . * ipc/ipc_object.h: Include . * ipc/ipc_right.h: Include . * ipc/ipc_space.h: Include and . * kern/ipc_tt.h: Include . * kern/sched.h: Include . * ipc/ipc_hash.c (ipc_hash_index_t): Move type definition... * ipc/ipc_hash.h: ... into here. --- ipc/ipc_kmsg.h | 38 ++++++++++++++++++++------------------ 1 file changed, 20 insertions(+), 18 deletions(-) (limited to 'ipc/ipc_kmsg.h') diff --git a/ipc/ipc_kmsg.h b/ipc/ipc_kmsg.h index 76176922..8867310d 100644 --- a/ipc/ipc_kmsg.h +++ b/ipc/ipc_kmsg.h @@ -41,6 +41,9 @@ #include #include #include +#include +#include +#include /* * This structure is only the header for a kmsg buffer; @@ -217,53 +220,52 @@ MACRO_BEGIN \ MACRO_END extern void -ipc_kmsg_destroy(/* ipc_kmsg_t */); +ipc_kmsg_destroy(ipc_kmsg_t); extern void -ipc_kmsg_clean(/* ipc_kmsg_t */); +ipc_kmsg_clean(ipc_kmsg_t); extern void -ipc_kmsg_free(/* ipc_kmsg_t */); +ipc_kmsg_free(ipc_kmsg_t); extern mach_msg_return_t -ipc_kmsg_get(/* mach_msg_header_t *, mach_msg_size_t, ipc_kmsg_t * */); +ipc_kmsg_get(mach_msg_header_t *, mach_msg_size_t, ipc_kmsg_t *); extern mach_msg_return_t -ipc_kmsg_get_from_kernel(/* mach_msg_header_t *, mach_msg_size_t, - ipc_kmsg_t * */); +ipc_kmsg_get_from_kernel(mach_msg_header_t *, mach_msg_size_t, ipc_kmsg_t *); extern mach_msg_return_t -ipc_kmsg_put(/* mach_msg_header_t *, ipc_kmsg_t, mach_msg_size_t */); +ipc_kmsg_put(mach_msg_header_t *, ipc_kmsg_t, mach_msg_size_t); extern void -ipc_kmsg_put_to_kernel(/* mach_msg_header_t *, ipc_kmsg_t, mach_msg_size_t */); +ipc_kmsg_put_to_kernel(mach_msg_header_t *, ipc_kmsg_t, mach_msg_size_t); extern mach_msg_return_t -ipc_kmsg_copyin_header(/* mach_msg_header_t *, ipc_space_t, mach_port_t */); +ipc_kmsg_copyin_header(mach_msg_header_t *, ipc_space_t, mach_port_t); extern mach_msg_return_t -ipc_kmsg_copyin(/* ipc_kmsg_t, ipc_space_t, vm_map_t, mach_port_t */); +ipc_kmsg_copyin(ipc_kmsg_t, ipc_space_t, vm_map_t, mach_port_t); extern void -ipc_kmsg_copyin_from_kernel(/* ipc_kmsg_t */); +ipc_kmsg_copyin_from_kernel(ipc_kmsg_t); extern mach_msg_return_t -ipc_kmsg_copyout_header(/* mach_msg_header_t *, ipc_space_t, mach_port_t */); +ipc_kmsg_copyout_header(mach_msg_header_t *, ipc_space_t, mach_port_t); extern mach_msg_return_t -ipc_kmsg_copyout_object(/* ipc_space_t, ipc_object_t, - mach_msg_type_name_t, mach_port_t * */); +ipc_kmsg_copyout_object(ipc_space_t, ipc_object_t, + mach_msg_type_name_t, mach_port_t *); extern mach_msg_return_t -ipc_kmsg_copyout_body(/* vm_offset_t, vm_offset_t, ipc_space_t, vm_map_t */); +ipc_kmsg_copyout_body(vm_offset_t, vm_offset_t, ipc_space_t, vm_map_t); extern mach_msg_return_t -ipc_kmsg_copyout(/* ipc_kmsg_t, ipc_space_t, vm_map_t, mach_port_t */); +ipc_kmsg_copyout(ipc_kmsg_t, ipc_space_t, vm_map_t, mach_port_t); extern mach_msg_return_t -ipc_kmsg_copyout_pseudo(/* ipc_kmsg_t, ipc_space_t, vm_map_t */); +ipc_kmsg_copyout_pseudo(ipc_kmsg_t, ipc_space_t, vm_map_t); extern void -ipc_kmsg_copyout_dest(/* ipc_kmsg_t, ipc_space_t */); +ipc_kmsg_copyout_dest(ipc_kmsg_t, ipc_space_t); #endif /* _IPC_IPC_KMSG_H_ */ -- cgit v1.2.3