From 02656b2e09dad62b8fa9e2b01ee639f464446540 Mon Sep 17 00:00:00 2001 From: simonb Date: Sat, 1 Jun 2002 14:07:33 +0000 Subject: [PATCH] Change retval to be an array of register_t instead of array of int. --- sys/lkm/syscall/example/example_syscall.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/lkm/syscall/example/example_syscall.c b/sys/lkm/syscall/example/example_syscall.c index 0514530ec004..f8139ce490d5 100644 --- a/sys/lkm/syscall/example/example_syscall.c +++ b/sys/lkm/syscall/example/example_syscall.c @@ -1,4 +1,4 @@ -/* $NetBSD: example_syscall.c,v 1.2 2001/11/12 23:23:26 lukem Exp $ */ +/* $NetBSD: example_syscall.c,v 1.3 2002/06/01 14:07:33 simonb Exp $ */ /* * example_syscall.c @@ -37,7 +37,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: example_syscall.c,v 1.2 2001/11/12 23:23:26 lukem Exp $"); +__KERNEL_RCSID(0, "$NetBSD: example_syscall.c,v 1.3 2002/06/01 14:07:33 simonb Exp $"); #include #include @@ -63,7 +63,7 @@ int example_syscall(p, uap, retval) struct proc *p; void *uap; - int retval[]; + register_t retval[]; { /* * Our new system call simply prints a message; it takes no