From: Zhou Peng Date: Sat, 5 May 2018 13:08:17 +0000 (+0000) Subject: plugin: make stub lookup signature match dlopen version X-Git-Tag: go1.11beta1~487 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=5b976d3783cc7e626a384a4d57b4a57decea05ba;p=gostls13.git plugin: make stub lookup signature match dlopen version Change-Id: I64958f8f1a935adc07868362975447d0c0033084 Reviewed-on: https://go-review.googlesource.com/111716 Reviewed-by: Ian Lance Taylor --- diff --git a/src/plugin/plugin_stubs.go b/src/plugin/plugin_stubs.go index f0bcb4a3bd..40a41643b1 100644 --- a/src/plugin/plugin_stubs.go +++ b/src/plugin/plugin_stubs.go @@ -8,7 +8,7 @@ package plugin import "errors" -func lookup(p *Plugin, symName string) (interface{}, error) { +func lookup(p *Plugin, symName string) (Symbol, error) { return nil, errors.New("plugin: not implemented") }