]> Cypherpunks repositories - gostls13.git/commitdiff
Fix *l/*c -V flag segfault
authorDean Prichard <dean.prichard@gmail.com>
Mon, 8 Feb 2010 19:53:27 +0000 (11:53 -0800)
committerAndrew Gerrand <adg@golang.org>
Mon, 8 Feb 2010 19:53:27 +0000 (11:53 -0800)
*l/*c -V will segfault on macos without this trivial fix.

R=adg
CC=golang-dev
https://golang.org/cl/205042

include/libc.h

index 7774f98fa171c200ce2940667e624c36a0e67553..ea6fc3b262099587f27214d4a6ddb9b4a6cea1eb 100644 (file)
@@ -289,6 +289,7 @@ extern      ulong   rendezvous(ulong, ulong);
 extern char*   getgoos(void);
 extern char*   getgoarch(void);
 extern char*   getgoroot(void);
+extern char*   getgoversion(void);
 
 #ifdef __MINGW32__
 extern int fork();