diff options
Diffstat (limited to 'sys/sys/sysent.h')
-rw-r--r-- | sys/sys/sysent.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/sys/sys/sysent.h b/sys/sys/sysent.h index 6f74644..9d02ffa 100644 --- a/sys/sys/sysent.h +++ b/sys/sys/sysent.h @@ -38,7 +38,7 @@ struct thread; -typedef int sy_call_t __P((struct thread *, void *)); +typedef int sy_call_t(struct thread *, void *); struct sysent { /* system call table */ int sy_narg; /* number of arguments */ @@ -64,22 +64,22 @@ struct sysentvec { int *sv_sigtbl; /* signal translation table */ int sv_errsize; /* size of errno translation table */ int *sv_errtbl; /* errno translation table */ - int (*sv_transtrap) __P((int, int)); + int (*sv_transtrap)(int, int); /* translate trap-to-signal mapping */ - int (*sv_fixup) __P((register_t **, struct image_params *)); + int (*sv_fixup)(register_t **, struct image_params *); /* stack fixup function */ - void (*sv_sendsig) __P((void (*)(int), int, - struct __sigset *, u_long)); + void (*sv_sendsig)(void (*)(int), int, + struct __sigset *, u_long); /* send signal */ char *sv_sigcode; /* start of sigtramp code */ int *sv_szsigcode; /* size of sigtramp code */ - void (*sv_prepsyscall) __P((struct trapframe *, int *, - u_int *, caddr_t *)); + void (*sv_prepsyscall)(struct trapframe *, int *, + u_int *, caddr_t *); char *sv_name; /* name of binary type */ - int (*sv_coredump) __P((struct thread *, struct vnode *, - off_t)); + int (*sv_coredump)(struct thread *, struct vnode *, + off_t); /* function to dump core, or NULL */ - int (*sv_imgact_try) __P((struct image_params *)); + int (*sv_imgact_try)(struct image_params *); int sv_minsigstksz; /* minimum signal stack size */ }; @@ -123,10 +123,10 @@ SYSCALL_MODULE(syscallname, \ & syscallname##_syscall, & syscallname##_sysent, \ NULL, NULL); -int syscall_register __P((int *offset, struct sysent *new_sysent, - struct sysent *old_sysent)); -int syscall_deregister __P((int *offset, struct sysent *old_sysent)); -int syscall_module_handler __P((struct module *mod, int what, void *arg)); +int syscall_register(int *offset, struct sysent *new_sysent, + struct sysent *old_sysent); +int syscall_deregister(int *offset, struct sysent *old_sysent); +int syscall_module_handler(struct module *mod, int what, void *arg); #endif /* _KERNEL */ |