mirror of https://github.com/golang/go.git
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:
parent
56aeec31c6
commit
94bd34fe50
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue