diff options
Diffstat (limited to 'src/game/server/hooks.cpp')
| -rw-r--r-- | src/game/server/hooks.cpp | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/game/server/hooks.cpp b/src/game/server/hooks.cpp index 1ae38ce2..89c95f79 100644 --- a/src/game/server/hooks.cpp +++ b/src/game/server/hooks.cpp @@ -7,10 +7,8 @@ #include <engine/e_config.h> #include <engine/e_server_interface.h> -extern "C" -{ - #include <engine/e_memheap.h> -} +#include <engine/e_memheap.h> + #include <game/version.hpp> #include <game/collision.hpp> #include <game/layers.hpp> @@ -597,5 +595,5 @@ void mods_postsnap() game.events.clear(); } -extern "C" const char *mods_net_version() { return GAME_NETVERSION; } -extern "C" const char *mods_version() { return GAME_VERSION; } +const char *mods_net_version() { return GAME_NETVERSION; } +const char *mods_version() { return GAME_VERSION; } |