]> Cypherpunks repositories - gostls13.git/commitdiff
lib9: fix build for windows
authorShenghou Ma <minux.ma@gmail.com>
Tue, 5 Feb 2013 16:33:25 +0000 (00:33 +0800)
committerShenghou Ma <minux.ma@gmail.com>
Tue, 5 Feb 2013 16:33:25 +0000 (00:33 +0800)
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/7311044

src/lib9/main.c

index 85a73f9f29e2ce7217c586a0aafada9ba92ec42a..f1bde9c95f396d4bc2ce2a55ad49d86bcddd490c 100644 (file)
@@ -30,7 +30,8 @@ THE SOFTWARE.
 #ifdef WIN32
 #include <windows.h>
 
-static void crashhandler() {
+static void crashhandler(int sig) {
+       USED(sig);
        fprint(2, "%s: internal fatal error.\n", argv0);
        exit(1);
 }