fix go vet complaints

This commit is contained in:
Ross Kinder
2016-09-03 19:38:58 -04:00
parent 154d6b93c0
commit 31c57ffee3
2 changed files with 4 additions and 9 deletions

View File

@@ -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

View File

@@ -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 <libxml/parser.h>
// #include <libxml/parserInternals.h>
// #include <libxml/xmlmemory.h>
// #include <xmlsec/xmlsec.h>
// #include <xmlsec/xmltree.h>
// #include <xmlsec/xmlenc.h>
// #include <xmlsec/templates.h>
// #include <xmlsec/crypto.h>
import "C"