diff options
author | Bruce Evans <bde@FreeBSD.org> | 1997-12-30 08:38:34 +0000 |
---|---|---|
committer | Bruce Evans <bde@FreeBSD.org> | 1997-12-30 08:38:34 +0000 |
commit | d03815ca62b5b30e978ce30851d30ffc79337ebb (patch) | |
tree | cd22324099db7c1f1e9ea8c34a5d91c67e77ff20 /share/examples/lkm | |
parent | 1948b335baa0638c0dd6b0921426aea217abebbf (diff) |
Remove `retval' from syscall functions here too.
Notes
Notes:
svn path=/head/; revision=32119
Diffstat (limited to 'share/examples/lkm')
-rw-r--r-- | share/examples/lkm/misc/module/misccall.c | 5 | ||||
-rw-r--r-- | share/examples/lkm/misc/module/miscmod.c | 2 | ||||
-rw-r--r-- | share/examples/lkm/syscall/module/mycall.c | 5 | ||||
-rw-r--r-- | share/examples/lkm/syscall/module/newsyscall.c | 2 |
4 files changed, 6 insertions, 8 deletions
diff --git a/share/examples/lkm/misc/module/misccall.c b/share/examples/lkm/misc/module/misccall.c index 0de01ad97964..03856fd872ed 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 16bbeccf11a4..bfb5589e817b 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 diff --git a/share/examples/lkm/syscall/module/mycall.c b/share/examples/lkm/syscall/module/mycall.c index 293a5a223f84..b95ccaf56af5 100644 --- a/share/examples/lkm/syscall/module/mycall.c +++ b/share/examples/lkm/syscall/module/mycall.c @@ -39,7 +39,7 @@ #include <sys/systm.h> /* XXX this should be in a header. */ -extern int mycall __P((struct proc *p, void *uap, int retval[])); +extern int mycall __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 mycall __P((struct proc *p, void *uap, int retval[])); * files into a single ".o" file for use by "modload". */ int -mycall( p, uap, retval) +mycall( 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/syscall/module/newsyscall.c b/share/examples/lkm/syscall/module/newsyscall.c index bff2b9c639c5..44b6fab775a6 100644 --- a/share/examples/lkm/syscall/module/newsyscall.c +++ b/share/examples/lkm/syscall/module/newsyscall.c @@ -43,7 +43,7 @@ #include <sys/lkm.h> /* XXX this should be in a header. */ -extern int mycall __P((struct proc *p, void *uap, int retval[])); +extern int mycall __P((struct proc *p, void *uap)); /* XXX these should be generated by MOD_SYSCALL(). */ static int newsyscall_load __P((struct lkm_table *lkmtp, int cmd)); |