Remove `retval' from syscall functions here too.
This commit is contained in:
parent
1948b335ba
commit
d03815ca62
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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));
|
||||
|
Loading…
x
Reference in New Issue
Block a user