Index: sys/kern/kern_syscalls.c =================================================================== --- sys/kern/kern_syscalls.c +++ sys/kern/kern_syscalls.c @@ -108,7 +108,7 @@ } while (atomic_cmpset_rel_32(&se->sy_thrcnt, oldcnt, cnt) == 0); } -int +static int syscall_register(int *offset, struct sysent *new_sysent, struct sysent *old_sysent, int flags) { @@ -139,7 +139,7 @@ return (0); } -int +static int syscall_deregister(int *offset, struct sysent *old_sysent) { struct sysent *se; Index: sys/sys/sysent.h =================================================================== --- sys/sys/sysent.h +++ sys/sys/sysent.h @@ -262,9 +262,6 @@ .syscall_no = NO_SYSCALL \ } -int syscall_register(int *offset, struct sysent *new_sysent, - struct sysent *old_sysent, int flags); -int syscall_deregister(int *offset, struct sysent *old_sysent); int syscall_module_handler(struct module *mod, int what, void *arg); int syscall_helper_register(struct syscall_helper_data *sd, int flags); int syscall_helper_unregister(struct syscall_helper_data *sd);