aboutsummaryrefslogtreecommitdiffhomepage
path: root/testdata/cgo/main.h
diff options
context:
space:
mode:
Diffstat (limited to 'testdata/cgo/main.h')
-rw-r--r--testdata/cgo/main.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/testdata/cgo/main.h b/testdata/cgo/main.h
index e7c64ffc3..3942497f2 100644
--- a/testdata/cgo/main.h
+++ b/testdata/cgo/main.h
@@ -1,5 +1,6 @@
#include <stdbool.h>
#include <stdint.h>
+#include <errno.h>
typedef short myint;
typedef short unusedTypedef;
@@ -154,3 +155,5 @@ void arraydecay(int buf1[5], int buf2[3][8], arraydecay_buf3 buf3);
double doSqrt(double);
void printf_single_int(char *format, int arg);
+
+int set_errno(int err);