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 | 0486bd0f44b4b90177e80fdd1898c2e0919856c6 (patch) | |
tree | f20b12911fbc55f60d2c26995b76602a64938547 /include | |
parent | ada59070b6e5b746345372d5b5c211072ee26e04 (diff) | |
download | go-0486bd0f44b4b90177e80fdd1898c2e0919856c6.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')
-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(); |