diff options
author | bde <bde@FreeBSD.org> | 1997-12-30 08:38:34 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1997-12-30 08:38:34 +0000 |
commit | 7f03eef721ed6619c1a4712252a0432bc6fa067d (patch) | |
tree | 349417bd62744296d3defc3ea1740976fc292fad /share/examples/lkm/misc | |
parent | a4d6911294850fa4d27310ac35bccc32e141286e (diff) | |
download | FreeBSD-src-7f03eef721ed6619c1a4712252a0432bc6fa067d.zip FreeBSD-src-7f03eef721ed6619c1a4712252a0432bc6fa067d.tar.gz |
Remove `retval' from syscall functions here too.
Diffstat (limited to 'share/examples/lkm/misc')
-rw-r--r-- | share/examples/lkm/misc/module/misccall.c | 5 | ||||
-rw-r--r-- | share/examples/lkm/misc/module/miscmod.c | 2 |
2 files changed, 3 insertions, 4 deletions
diff --git a/share/examples/lkm/misc/module/misccall.c b/share/examples/lkm/misc/module/misccall.c index 0de01ad..03856fd 100644 --- a/share/examples/lkm/misc/module/misccall.c +++ b/share/examples/lkm/misc/module/misccall.c @@ -39,7 +39,7 @@ #include <sys/systm.h> /* XXX this should be in a header. */ -extern int misccall __P((struct proc *p, void *uap, int retval[])); +extern int misccall __P((struct proc *p, void *uap)); /* * This is the actual code for the system call... it can't be static because @@ -56,10 +56,9 @@ extern int misccall __P((struct proc *p, void *uap, int retval[])); * files into a single ".o" file for use by "modload". */ int -misccall( p, uap, retval) +misccall( p, uap) struct proc *p; void *uap; -int retval[]; { /* * Our new system call simply prints a message; it takes no diff --git a/share/examples/lkm/misc/module/miscmod.c b/share/examples/lkm/misc/module/miscmod.c index 16bbecc..bfb5589 100644 --- a/share/examples/lkm/misc/module/miscmod.c +++ b/share/examples/lkm/misc/module/miscmod.c @@ -44,7 +44,7 @@ #include <sys/lkm.h> /* XXX this should be in a header. */ -extern int misccall __P((struct proc *p, void *uap, int retval[])); +extern int misccall __P((struct proc *p, void *uap)); /* * These two entries define our system call and module information. We |