summaryrefslogtreecommitdiff
path: root/src/mod_version.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mod_version.c')
-rw-r--r--src/mod_version.c40
1 files changed, 23 insertions, 17 deletions
diff --git a/src/mod_version.c b/src/mod_version.c
index e314b8b42..f8327d54f 100644
--- a/src/mod_version.c
+++ b/src/mod_version.c
@@ -13,24 +13,30 @@
#endif
#endif
-E int getAnopeBuildVersion();
-E int getAnopeMajorVersion();
-E int getAnopeMinorVersion();
-E int getAnopePatchVersion();
+extern "C"
+{
+ E int getAnopeBuildVersion();
+ E int getAnopeMajorVersion();
+ E int getAnopeMinorVersion();
+ E int getAnopePatchVersion();
-int getAnopeBuildVersion() {
- return VERSION_BUILD;
-}
+ int getAnopeBuildVersion()
+ {
+ return VERSION_BUILD;
+ }
-int getAnopeMajorVersion() {
- return VERSION_MAJOR;
-}
+ int getAnopeMajorVersion()
+ {
+ return VERSION_MAJOR;
+ }
-int getAnopeMinorVersion() {
- return VERSION_MINOR;
-}
-
-int getAnopePatchVersion() {
- return VERSION_PATCH;
-}
+ int getAnopeMinorVersion()
+ {
+ return VERSION_MINOR;
+ }
+ int getAnopePatchVersion()
+ {
+ return VERSION_PATCH;
+ }
+} \ No newline at end of file