misc/cgo/test: fix build (define prototype for alloca)

TBR=golang-dev
CC=golang-dev
https://golang.org/cl/14454063
This commit is contained in:
Russ Cox 2013-10-15 13:46:57 -04:00
parent 56aeec31c6
commit 94bd34fe50
1 changed files with 1 additions and 0 deletions

View 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);