Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arm/arm Add a prototype for linux_syscall(). It sh...



details:   https://anonhg.NetBSD.org/src/rev/5572fe5c4dce
branches:  trunk
changeset: 522369:5572fe5c4dce
user:      bjh21 <bjh21%NetBSD.org@localhost>
date:      Sun Feb 17 23:37:18 2002 +0000

description:
Add a prototype for linux_syscall().  It should be in a header file, but
other files that refer to it don't know its argument types anyway.

diffstat:

 sys/arch/arm/arm/linux_syscall.c |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r 0338780c9d4e -r 5572fe5c4dce sys/arch/arm/arm/linux_syscall.c
--- a/sys/arch/arm/arm/linux_syscall.c  Sun Feb 17 23:22:22 2002 +0000
+++ b/sys/arch/arm/arm/linux_syscall.c  Sun Feb 17 23:37:18 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: linux_syscall.c,v 1.2 2002/01/23 15:52:58 bjh21 Exp $  */
+/*     $NetBSD: linux_syscall.c,v 1.3 2002/02/17 23:37:18 bjh21 Exp $  */
 
 /*-
  * Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -79,7 +79,7 @@
 
 #include <sys/param.h>
 
-__RCSID("$NetBSD: linux_syscall.c,v 1.2 2002/01/23 15:52:58 bjh21 Exp $");
+__RCSID("$NetBSD: linux_syscall.c,v 1.3 2002/02/17 23:37:18 bjh21 Exp $");
 
 #include <sys/device.h>
 #include <sys/errno.h>
@@ -106,6 +106,9 @@
 #define LINUX_ARM_NR_BASE      0x9f0000
 #define LINUX_SYS_ARMBASE      0x000100 /* Must agree with syscalls.master */
 
+/* XXX */
+void linux_syscall(struct trapframe *frame, struct proc *p, u_int32_t insn);
+
 void
 linux_syscall(trapframe_t *frame, struct proc *p, u_int32_t insn)
 {



Home | Main Index | Thread Index | Old Index