summaryrefslogtreecommitdiff
path: root/plugins/dwarfexport
diff options
context:
space:
mode:
authorQuietust2012-02-13 22:54:08 -0600
committerQuietust2012-02-13 22:54:08 -0600
commit091bf62aa8dc4f27ab48e2072be65e9b6741e304 (patch)
tree27da5ac1686f292dc0a172b3edcbe722b076f249 /plugins/dwarfexport
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/dwarfexport')
-rw-r--r--plugins/dwarfexport/dwarfexport.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/dwarfexport/dwarfexport.cpp b/plugins/dwarfexport/dwarfexport.cpp
index 20d48f39..877c75e2 100644
--- a/plugins/dwarfexport/dwarfexport.cpp
+++ b/plugins/dwarfexport/dwarfexport.cpp
@@ -33,7 +33,7 @@ using df::global::world;
// Here go all the command declarations...
// mostly to allow having the mandatory stuff on top of the file and commands on the bottom
-DFhackCExport command_result export_dwarves (Core * c, std::vector <std::string> & parameters);
+command_result export_dwarves (Core * c, std::vector <std::string> & parameters);
// A plugins must be able to return its name. This must correspond to the filename - export.plug.so or export.plug.dll
DFhackCExport const char * plugin_name ( void )
@@ -155,7 +155,7 @@ static void export_dwarf(Core* c, df::unit* cre, ostream& out) {
out << " </Creature>" << endl;
}
-DFhackCExport command_result export_dwarves (Core * c, std::vector <std::string> & parameters)
+command_result export_dwarves (Core * c, std::vector <std::string> & parameters)
{
string filename;
if (parameters.size() == 1) {