Source-Changes-HG archive

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

[src/pgoyette-compat]: src/sys/arch/amd64/amd64 Adjust declaration of netbsd3...



details:   https://anonhg.NetBSD.org/src/rev/48d9904bac24
branches:  pgoyette-compat
changeset: 830787:48d9904bac24
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Mon Sep 24 23:47:07 2018 +0000

description:
Adjust declaration of netbsd32_sendsig_siginfo() too.

Remove the attempted initialization of the former function pointer; this
is now handled by the "default" argument in MODULE_HOOK_CALL() macro.

diffstat:

 sys/arch/amd64/amd64/netbsd32_machdep.c |  10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diffs (41 lines):

diff -r 39cf34cdf597 -r 48d9904bac24 sys/arch/amd64/amd64/netbsd32_machdep.c
--- a/sys/arch/amd64/amd64/netbsd32_machdep.c   Mon Sep 24 23:37:59 2018 +0000
+++ b/sys/arch/amd64/amd64/netbsd32_machdep.c   Mon Sep 24 23:47:07 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: netbsd32_machdep.c,v 1.115.2.6 2018/09/24 23:37:59 pgoyette Exp $      */
+/*     $NetBSD: netbsd32_machdep.c,v 1.115.2.7 2018/09/24 23:47:07 pgoyette Exp $      */
 
 /*
  * Copyright (c) 2001 Wasabi Systems, Inc.
@@ -36,7 +36,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: netbsd32_machdep.c,v 1.115.2.6 2018/09/24 23:37:59 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netbsd32_machdep.c,v 1.115.2.7 2018/09/24 23:47:07 pgoyette Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_compat_netbsd.h"
@@ -106,7 +106,7 @@
 void  netbsd32_buildcontext(struct lwp *l, struct trapframe *tf, void *fp,
     sig_t catcher, int onstack);
 
-void netbsd32_sendsig_siginfo(const ksiginfo_t *, const sigset_t *);
+int netbsd32_sendsig_siginfo(const ksiginfo_t *, const sigset_t *);
 
 #ifdef EXEC_AOUT
 /*
@@ -979,10 +979,12 @@
 netbsd32_machdep_md_init(void)
 {
 
-       vec_netbsd32_sendsig = netbsd32_sendsig_siginfo;
+       /* nothing to do */
 }
 
 void
 netbsd32_machdep_md_fini(void)
 {
+
+       /* nothing to do */
 }



Home | Main Index | Thread Index | Old Index