diff options
author | Russ Cox <rsc@golang.org> | 2013-10-15 13:46:57 -0400 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2013-10-15 13:46:57 -0400 |
commit | 476c485a3b1dca679521f6f8b83d8273b1d742fd (patch) | |
tree | 2191ebdce6588db16aefdbda2e90a6c05f5412ca /misc/cgo | |
parent | b966f7f8b8a09f0ce55458ba6030fc021cb2eb93 (diff) | |
download | go-476c485a3b1dca679521f6f8b83d8273b1d742fd.tar.gz |
misc/cgo/test: fix build (define prototype for alloca)
TBR=golang-dev
CC=golang-dev
https://codereview.appspot.com/14454063
Diffstat (limited to 'misc/cgo')
-rw-r--r-- | misc/cgo/test/issue6506.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/misc/cgo/test/issue6506.go b/misc/cgo/test/issue6506.go index e2a733206..5c1d2a864 100644 --- a/misc/cgo/test/issue6506.go +++ b/misc/cgo/test/issue6506.go @@ -16,6 +16,7 @@ package cgotest // One of the great things about this bug is that even with these prototypes // clang still generates the wrong debug information. +void *alloca(size_t); void bzero(void*, size_t); int bcmp(const void*, const void*, size_t); int strncasecmp(const char*, const char*, size_t n); |