cgo: avoid '"unsafe" imported but not used' error

This can happen when not all CGo features are used.
This commit is contained in:
Ayke van Laethem
2019-11-06 14:52:35 +01:00
committed by Ron Evans
parent b41e58bcb4
commit 913131bf62
3 changed files with 31 additions and 0 deletions
+2
View File
@@ -2,6 +2,8 @@ package main
import "unsafe"
var _ unsafe.Pointer
type C.int16_t = int16
type C.int32_t = int32
type C.int64_t = int64