add a typedef `sy_call_t' for the function type used in `struct

sysent'
This commit is contained in:
assar 1999-12-28 23:16:49 +00:00
parent 1e9bb239a3
commit c2de858715
1 changed files with 4 additions and 3 deletions

View File

@ -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