summaryrefslogtreecommitdiffstats
path: root/share/examples/lkm/syscall/module/newsyscall.c
diff options
context:
space:
mode:
Diffstat (limited to 'share/examples/lkm/syscall/module/newsyscall.c')
-rw-r--r--share/examples/lkm/syscall/module/newsyscall.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/examples/lkm/syscall/module/newsyscall.c b/share/examples/lkm/syscall/module/newsyscall.c
index bff2b9c..44b6fab 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));
OpenPOWER on IntegriCloud