Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-4]: src/sys/sys Pull up revision 1.100 (requested by assar):
details: https://anonhg.NetBSD.org/src/rev/c542664f98b2
branches: netbsd-1-4
changeset: 469981:c542664f98b2
user: he <he%NetBSD.org@localhost>
date: Sat Jan 08 17:56:11 2000 +0000
description:
Pull up revision 1.100 (requested by assar):
Add a typedef `sy_call_t' for the function type in `struct sysent',
making it easier to reference this type.
diffstat:
sys/sys/systm.h | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (24 lines):
diff -r 1d62bdc508eb -r c542664f98b2 sys/sys/systm.h
--- a/sys/sys/systm.h Sat Jan 08 17:50:49 2000 +0000
+++ b/sys/sys/systm.h Sat Jan 08 17:56:11 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: systm.h,v 1.89 1999/03/24 05:51:29 mrg Exp $ */
+/* $NetBSD: systm.h,v 1.89.2.1 2000/01/08 17:56:11 he Exp $ */
/*-
* Copyright (c) 1982, 1988, 1991, 1993
@@ -119,11 +119,12 @@
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
Home |
Main Index |
Thread Index |
Old Index