From 31c57ffee32d8df8bbfc815ee2163de6401d97c9 Mon Sep 17 00:00:00 2001 From: Ross Kinder Date: Sat, 3 Sep 2016 19:38:58 -0400 Subject: [PATCH] fix `go vet` complaints --- cgo_dl.go | 4 ++-- cgo_static.go | 9 ++------- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/cgo_dl.go b/cgo_dl.go index 8051d8d..3340d08 100644 --- a/cgo_dl.go +++ b/cgo_dl.go @@ -1,7 +1,7 @@ -package xmlsec - // +build !static +package xmlsec + // #cgo linux CFLAGS: -w // #cgo darwin CFLAGS: -Wno-invalid-pp-token -Wno-header-guard // #cgo pkg-config: xmlsec1 diff --git a/cgo_static.go b/cgo_static.go index fc5aa46..eeb4791 100644 --- a/cgo_static.go +++ b/cgo_static.go @@ -1,7 +1,7 @@ -package xmlsec - // +build static +package xmlsec + // #cgo linux CFLAGS: -w // #cgo darwin CFLAGS: -Wno-invalid-pp-token -Wno-header-guard // #cgo pkg-config: --static xmlsec1 @@ -16,9 +16,4 @@ import "C" // #include // #include // #include -// #include -// #include -// #include -// #include -// #include import "C"