From: Russ Cox Date: Tue, 15 Oct 2013 17:46:57 +0000 (-0400) Subject: misc/cgo/test: fix build (define prototype for alloca) X-Git-Tag: go1.2rc2~19 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=94bd34fe50a7ea7e913b58b3a278fc8dc36db1b3;p=gostls13.git misc/cgo/test: fix build (define prototype for alloca) TBR=golang-dev CC=golang-dev https://golang.org/cl/14454063 --- diff --git a/misc/cgo/test/issue6506.go b/misc/cgo/test/issue6506.go index e2a733206e..5c1d2a864b 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);