]> Cypherpunks repositories - gostls13.git/commitdiff
misc/cgo/test: fix build (define prototype for alloca)
authorRuss Cox <rsc@golang.org>
Tue, 15 Oct 2013 17:46:57 +0000 (13:46 -0400)
committerRuss Cox <rsc@golang.org>
Tue, 15 Oct 2013 17:46:57 +0000 (13:46 -0400)
TBR=golang-dev
CC=golang-dev
https://golang.org/cl/14454063

misc/cgo/test/issue6506.go

index e2a733206e18dc14d84f42ff29109adabd9d49e5..5c1d2a864bd54bd25ab9f8bcb7e259e5f0f72b3d 100644 (file)
@@ -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);