diff --git a/sys/sys/systm.h b/sys/sys/systm.h index 9bdb984fd3a6..8e6595d382a3 100644 --- a/sys/sys/systm.h +++ b/sys/sys/systm.h @@ -1,4 +1,4 @@ -/* $NetBSD: systm.h,v 1.99 1999/11/22 18:05:41 jdolecek Exp $ */ +/* $NetBSD: systm.h,v 1.100 1999/12/28 23:16:49 assar Exp $ */ /*- * Copyright (c) 1982, 1988, 1991, 1993 @@ -119,11 +119,12 @@ struct proc; struct tty; struct uio; +typedef int sy_call_t __P((struct proc *, void *, register_t *)); + extern struct sysent { /* system call table */ short sy_narg; /* number of args */ short sy_argsize; /* total size of arguments */ - /* implementing function */ - int (*sy_call) __P((struct proc *, void *, register_t *)); + sy_call_t *sy_call; /* implementing function */ } sysent[]; extern int nsysent; #if BYTE_ORDER == BIG_ENDIAN