summaryrefslogtreecommitdiff
path: root/plugins/versionosd.cpp
diff options
context:
space:
mode:
authorQuietust2012-02-13 22:54:08 -0600
committerQuietust2012-02-13 22:54:08 -0600
commit091bf62aa8dc4f27ab48e2072be65e9b6741e304 (patch)
tree27da5ac1686f292dc0a172b3edcbe722b076f249 /plugins/versionosd.cpp
parent2fd2e3dce2318789f68d2da30a94b344cf0c1bc2 (diff)
downloaddfhack-091bf62aa8dc4f27ab48e2072be65e9b6741e304.tar.gz
dfhack-091bf62aa8dc4f27ab48e2072be65e9b6741e304.tar.bz2
dfhack-091bf62aa8dc4f27ab48e2072be65e9b6741e304.tar.xz
DFhackCExport is only needed on the plugin_* functions
Diffstat (limited to 'plugins/versionosd.cpp')
-rw-r--r--plugins/versionosd.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/versionosd.cpp b/plugins/versionosd.cpp
index f3e63e8c..5fa94c96 100644
--- a/plugins/versionosd.cpp
+++ b/plugins/versionosd.cpp
@@ -15,7 +15,7 @@ using namespace std;
#include "modules/Gui.h"
using namespace DFHack;
-DFhackCExport command_result df_versionosd (Core * c, vector <string> & parameters);
+command_result df_versionosd (Core * c, vector <string> & parameters);
static DFSDL_Surface* (*_IMG_LoadPNG_RW)(void* src) = 0;
static vPtr (*_SDL_RWFromFile)(const char* file, const char *mode) = 0;
static int (*_SDL_SetAlpha)(vPtr surface, uint32_t flag, uint8_t alpha) = 0;
@@ -117,7 +117,7 @@ DFhackCExport command_result plugin_shutdown ( Core * c )
return CR_OK;
}
-DFhackCExport command_result df_versionosd (Core * c, vector <string> & parameters)
+command_result df_versionosd (Core * c, vector <string> & parameters)
{
On = !On;
c->Suspend();