aboutsummaryrefslogtreecommitdiffstats
path: root/plugin/icedteanp
diff options
context:
space:
mode:
authorThomas Meyer <[email protected]>2012-08-07 23:11:28 +0200
committerThomas Meyer <[email protected]>2012-08-07 23:11:28 +0200
commitcbf4c1118d8f44453fefb8f2223b3a6fe743fa3f (patch)
tree1cd0d97bfdfe28b41e9d46232dbfc9b76c020de3 /plugin/icedteanp
parent008a845efd9e3328c30878c49666e761ec512254 (diff)
Export only a minimum of symbols. This should fix PR472.
Diffstat (limited to 'plugin/icedteanp')
-rw-r--r--plugin/icedteanp/IcedTeaNPPlugin.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugin/icedteanp/IcedTeaNPPlugin.cc b/plugin/icedteanp/IcedTeaNPPlugin.cc
index 1012812..6c6b87f 100644
--- a/plugin/icedteanp/IcedTeaNPPlugin.cc
+++ b/plugin/icedteanp/IcedTeaNPPlugin.cc
@@ -2112,6 +2112,7 @@ initialize_plugin_table(NPPluginFuncs* pluginTable)
// this function, then it is evident that NP_Initialize has already
// been called. There is no need to call this function more than once and
// this workaround avoids any duplicate calls.
+__attribute__ ((visibility ("default")))
NPError
NP_Initialize (NPNetscapeFuncs* browserTable, NPPluginFuncs* pluginTable)
{
@@ -2314,6 +2315,7 @@ NP_Initialize (NPNetscapeFuncs* browserTable, NPPluginFuncs* pluginTable)
// Returns a string describing the MIME type that this plugin
// handles.
+__attribute__ ((visibility ("default")))
#ifdef LEGACY_XULRUNNERAPI
char*
#else
@@ -2330,6 +2332,7 @@ NP_GetMIMEDescription ()
// Returns a value relevant to the plugin as a whole. The browser
// calls this function to obtain information about the plugin.
+__attribute__ ((visibility ("default")))
NPError
NP_GetValue (void* future, NPPVariable variable, void* value)
{
@@ -2363,6 +2366,7 @@ NP_GetValue (void* future, NPPVariable variable, void* value)
// Shuts down the plugin. Called after the last plugin instance is
// destroyed.
+__attribute__ ((visibility ("default")))
NPError
NP_Shutdown (void)
{