diff options
Diffstat (limited to 'share/examples/lkm/syscall/module/mycall.c')
-rw-r--r-- | share/examples/lkm/syscall/module/mycall.c | 5 |
1 files changed, 2 insertions, 3 deletions
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 |