From: Francesc Campoy Date: Thu, 9 Feb 2017 03:12:19 +0000 (-0800) Subject: plugin: remove unnecessary import "C" from example X-Git-Tag: go1.9beta1~1653 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=38b3661b45ff62de28abc20057503422337330f7;p=gostls13.git plugin: remove unnecessary import "C" from example It seems that it is not needed to import the pseudo package "C" for the plugin to be built correctly. Removing it to avoid confusion. Change-Id: I62838a953ad2889881bfbfd1a36141661565f033 Reviewed-on: https://go-review.googlesource.com/36638 Reviewed-by: David Crawshaw --- diff --git a/src/plugin/plugin.go b/src/plugin/plugin.go index b86099a4f6..3dc7964048 100644 --- a/src/plugin/plugin.go +++ b/src/plugin/plugin.go @@ -44,9 +44,6 @@ func (p *Plugin) Lookup(symName string) (Symbol, error) { // // package main // -// // // No C code needed. -// import "C" -// // import "fmt" // // var V int