]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: fix netbsd again after reorg
authorRuss Cox <rsc@golang.org>
Thu, 14 Mar 2013 21:53:01 +0000 (17:53 -0400)
committerRuss Cox <rsc@golang.org>
Thu, 14 Mar 2013 21:53:01 +0000 (17:53 -0400)
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

src/pkg/runtime/os_netbsd.c
src/pkg/runtime/os_netbsd.h

index 2e8e758999a0382acae98e34b2c5e1ad99f78036..d4b874f4c24da180372ca46fecee25bd5632bb27 100644 (file)
@@ -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 <sys/sysctl.h>
 #define        CTL_HW  6
index 84e0b241d16ffa995bdd879c4e91c8c7e596ae08..c193ae0b4addbaea61e6747d4a4a6fc3d8a1f797 100644 (file)
@@ -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