Source-Changes-HG archive

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

[src/trunk]: src/sys/compat/sunos32 We have syscall_intern now.



details:   https://anonhg.NetBSD.org/src/rev/dbe19edfdbb5
branches:  trunk
changeset: 582866:dbe19edfdbb5
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Jul 10 00:56:01 2005 +0000

description:
We have syscall_intern now.

diffstat:

 sys/compat/sunos32/sunos32_exec.c |  9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diffs (38 lines):

diff -r f7447ba442e9 -r dbe19edfdbb5 sys/compat/sunos32/sunos32_exec.c
--- a/sys/compat/sunos32/sunos32_exec.c Sun Jul 10 00:54:54 2005 +0000
+++ b/sys/compat/sunos32/sunos32_exec.c Sun Jul 10 00:56:01 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sunos32_exec.c,v 1.20 2005/03/26 05:12:35 fvdl Exp $    */
+/*     $NetBSD: sunos32_exec.c,v 1.21 2005/07/10 00:56:01 christos Exp $        */
 
 /*
  * Copyright (c) 2001 Matthew R. Green
@@ -29,7 +29,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sunos32_exec.c,v 1.20 2005/03/26 05:12:35 fvdl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sunos32_exec.c,v 1.21 2005/07/10 00:56:01 christos Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_syscall_debug.h"
@@ -51,7 +51,6 @@
 extern const char * const sunos32_syscallnames[];
 #endif
 extern char sunos_sigcode[], sunos_esigcode[];
-void syscall __P((void));
 
 struct uvm_object *emul_sunos32_object;
 
@@ -82,7 +81,11 @@
        NULL,
        NULL,
        NULL,
+#ifdef __HAVE_SYSCALL_INTERN
+       syscall_intern,
+#else
        syscall,
+#endif
        NULL,
        NULL,
        uvm_default_mapaddr,



Home | Main Index | Thread Index | Old Index