diff options
author | Dean Prichard <dean.prichard@gmail.com> | 2010-02-08 11:53:27 -0800 |
---|---|---|
committer | Dean Prichard <dean.prichard@gmail.com> | 2010-02-08 11:53:27 -0800 |
commit | 2ad0035daa6c682ebfd681288a87940d06fd45d5 (patch) | |
tree | f20b12911fbc55f60d2c26995b76602a64938547 /include/libc.h | |
parent | b2df86d9a881f5452e0caa2c06630ad1ee940f40 (diff) | |
download | golang-2ad0035daa6c682ebfd681288a87940d06fd45d5.tar.gz |
Fix *l/*c -V flag segfault
*l/*c -V will segfault on macos without this trivial fix.
R=adg
CC=golang-dev
http://codereview.appspot.com/205042
Committer: Andrew Gerrand <adg@golang.org>
Diffstat (limited to 'include/libc.h')
-rw-r--r-- | include/libc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libc.h b/include/libc.h index 7774f98fa..ea6fc3b26 100644 --- a/include/libc.h +++ b/include/libc.h @@ -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(); |