]> Cypherpunks repositories - gostls13.git/commitdiff
Fix the sigaction declaration to match the system for Linux.
authorIan Lance Taylor <iant@golang.org>
Fri, 23 Oct 2009 06:51:54 +0000 (23:51 -0700)
committerIan Lance Taylor <iant@golang.org>
Fri, 23 Oct 2009 06:51:54 +0000 (23:51 -0700)
I don't know whether Darwin needs a change here.

R=rsc
http://go/go-review/1013010

src/pkg/runtime/linux/os.h

index c36813a9bfb246a22e08f4cd13e2d58ca2ed67ad..fd6ccffc393f8ff73b069e39b99bd01ee84844f4 100644 (file)
@@ -7,4 +7,4 @@ int32   futex(uint32*, int32, uint32, Timespec*, uint32*, uint32);
 int32  clone(int32, void*, M*, G*, void(*)(void));
 
 struct Sigaction;
-void   rt_sigaction(int64, struct Sigaction*, void*, uint64);
+void   rt_sigaction(uintptr, struct Sigaction*, void*, uintptr);