From: Russ Cox Date: Thu, 14 Mar 2013 21:53:01 +0000 (-0400) Subject: runtime: fix netbsd again after reorg X-Git-Tag: go1.1rc2~502 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=214c1784934ec6584a5039a757f1c892d0faded6;p=gostls13.git runtime: fix netbsd again after reorg This time for sure. That C file sure looked like a header file to me. :-) R=golang-dev CC=golang-dev https://golang.org/cl/7830043 --- diff --git a/src/pkg/runtime/os_netbsd.c b/src/pkg/runtime/os_netbsd.c index 2e8e758999..d4b874f4c2 100644 --- a/src/pkg/runtime/os_netbsd.c +++ b/src/pkg/runtime/os_netbsd.c @@ -30,7 +30,6 @@ extern void runtime·lwp_mcontext_init(void *mc, void *stack, M *mp, G *gp, void extern int32 runtime·lwp_park(Timespec *abstime, int32 unpark, void *hint, void *unparkhint); extern int32 runtime·lwp_unpark(int32 lwp, void *hint); extern int32 runtime·lwp_self(void); -extern void runtime·lwp_tramp(void); // From NetBSD's #define CTL_HW 6 diff --git a/src/pkg/runtime/os_netbsd.h b/src/pkg/runtime/os_netbsd.h index 84e0b241d1..c193ae0b4a 100644 --- a/src/pkg/runtime/os_netbsd.h +++ b/src/pkg/runtime/os_netbsd.h @@ -17,6 +17,7 @@ void runtime·sigaction(int32, struct sigaction*, struct sigaction*); void runtime·sigaltstack(Sigaltstack*, Sigaltstack*); void runtime·sigprocmask(int32, Sigset*, Sigset*); int32 runtime·sysctl(uint32*, uint32, byte*, uintptr*, byte*, uintptr); +extern void runtime·lwp_tramp(void); #define NSIG 33 #define SI_USER 0