summaryrefslogtreecommitdiff
path: root/ipc
diff options
context:
space:
mode:
authorMarin Ramesa <mpr@hi.t-com.hr>2013-12-14 12:26:00 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-12-15 20:19:48 +0100
commitbb6646c299da3dde90b2e208ba0a7d5a71719a0c (patch)
tree4b5f3b3dc791a3c27e59fa3a10aefcbb95eb1c75 /ipc
parentf9ed7a52c0384e523c1f02c684d6db575b920859 (diff)
Type definition
* i386/i386/ast_check.c (init_ast_check, cause_ast_check): Define return type. * i386/i386/pic.c (intnull, prtnull): Define argument types. * i386/i386at/com.c (compr_addr): Likewise. (compr): Likewise. (compr_addr): Fix printf format. * i386/i386at/kd.c (kd_cmdreg_write, kd_kbd_magic): Define argument types. * i386/i386at/kd_mouse.c (init_mouse_hw): Likewise. * ipc/mach_port.c (sact_count): Define return type. * ipc/mach_rpc.c (mach_port_rpc_sig): Define argument types. * kern/act.c (dump_act): Define return type. * kern/lock_mon.c (simple_lock, simple_lock_try, simple_unlock, lip, lock_info_sort, lock_info_clear, print_lock_info): Define return type. (time_lock): Define return type and argument type. * kern/timer.c (time_trap_uexit): Define argument type.
Diffstat (limited to 'ipc')
-rw-r--r--ipc/mach_port.c2
-rw-r--r--ipc/mach_rpc.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/ipc/mach_port.c b/ipc/mach_port.c
index 3e5af40..fbc5e69 100644
--- a/ipc/mach_port.c
+++ b/ipc/mach_port.c
@@ -1457,7 +1457,7 @@ mach_port_set_rpcinfo(space, name, rpc_info, rpc_info_count)
int sacts, maxsacts;
#endif
-sact_count()
+void sact_count(void)
{
printf("%d server activations in use, %d max\n", sacts, maxsacts);
}
diff --git a/ipc/mach_rpc.c b/ipc/mach_rpc.c
index 7f5b2eb..643d0fb 100644
--- a/ipc/mach_rpc.c
+++ b/ipc/mach_rpc.c
@@ -141,7 +141,7 @@ mach_port_rpc_copy(portp, sact, dact)
}
kern_return_t
-mach_port_rpc_sig(space, name, buffer, buflen)
+mach_port_rpc_sig(ipc_space_t space, char *name, char *buffer, unsigned int buflen)
{
return KERN_FAILURE;
}