summaryrefslogtreecommitdiff
path: root/kern/syscall_sw.c
diff options
context:
space:
mode:
Diffstat (limited to 'kern/syscall_sw.c')
-rw-r--r--kern/syscall_sw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kern/syscall_sw.c b/kern/syscall_sw.c
index 084f2e0..a383e46 100644
--- a/kern/syscall_sw.c
+++ b/kern/syscall_sw.c
@@ -60,13 +60,13 @@
boolean_t kern_invalid_debug = FALSE;
-mach_port_t null_port()
+mach_port_t null_port(void)
{
if (kern_invalid_debug) SoftDebugger("null_port mach trap");
return(MACH_PORT_NULL);
}
-kern_return_t kern_invalid()
+kern_return_t kern_invalid(void)
{
if (kern_invalid_debug) SoftDebugger("kern_invalid mach trap");
return(KERN_INVALID_ARGUMENT);