diff options
author | Mikkel Krautz <mikkel@krautz.dk> | 2016-08-21 19:23:56 +0300 |
---|---|---|
committer | Mikkel Krautz <mikkel@krautz.dk> | 2016-08-21 19:26:40 +0300 |
commit | a474aa2ee4f0a4dba39b4c976786c9e83d8a4a0a (patch) | |
tree | 2420d298e704e81ec78363eca18519bace89522c /plugins/null_plugin.cpp | |
parent | c194b1c116da2c7261ec26e62e040e30530c3f8d (diff) |
plugins/null_plugin.cpp: remove use of legacy plugin header.
Also, convert the null plugin to use MUMBLE_PLUGIN_EXPORT.
Diffstat (limited to 'plugins/null_plugin.cpp')
-rw-r--r-- | plugins/null_plugin.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/null_plugin.cpp b/plugins/null_plugin.cpp index bc1838890..dd10b095d 100644 --- a/plugins/null_plugin.cpp +++ b/plugins/null_plugin.cpp @@ -3,7 +3,7 @@ // that can be found in the LICENSE file at the root of the // Mumble source tree or at <https://www.mumble.info/LICENSE>. -#include "mumble_plugin_win32.h" +#include "mumble_plugin.h" #ifndef NULL_DESC #define NULL_DESC L"Retracted plugin" @@ -33,12 +33,12 @@ static MumblePlugin nullplug = { NULL, NULL, trylock, - generic_unlock, + NULL, longdesc, fetch }; -extern "C" __declspec(dllexport) MumblePlugin *getMumblePlugin() { +extern "C" MUMBLE_PLUGIN_EXPORT MumblePlugin *getMumblePlugin() { return &nullplug; } |