Change retval to be an array of register_t instead of array of int.

This commit is contained in:
simonb 2002-06-01 14:07:33 +00:00
parent 4cb13fbec6
commit 02656b2e09

View File

@ -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 * example_syscall.c
@ -37,7 +37,7 @@
*/ */
#include <sys/cdefs.h> #include <sys/cdefs.h>
__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 <sys/param.h> #include <sys/param.h>
#include <sys/ioctl.h> #include <sys/ioctl.h>
@ -63,7 +63,7 @@ int
example_syscall(p, uap, retval) example_syscall(p, uap, retval)
struct proc *p; struct proc *p;
void *uap; void *uap;
int retval[]; register_t retval[];
{ {
/* /*
* Our new system call simply prints a message; it takes no * Our new system call simply prints a message; it takes no