summaryrefslogtreecommitdiff
path: root/src/plugin-types.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugin-types.hpp')
-rw-r--r--src/plugin-types.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugin-types.hpp b/src/plugin-types.hpp
index f7a119b..63b097e 100644
--- a/src/plugin-types.hpp
+++ b/src/plugin-types.hpp
@@ -33,7 +33,7 @@ struct PkeCallback {
// the 16 char signature(name) of a function
CallbackSignature name = {'\0','\0','\0','\0','\0','\0','\0','\0','\0','\0','\0','\0','\0','\0','\0','\0'};
// the address of the function to call - populated on startup
- void *func = nullptr;
+ void (*func)() = nullptr;
};
#endif /* PKE_PLUGIN_TYPES_HPP */