summaryrefslogtreecommitdiff
path: root/src/common/HPMi.h
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2014-11-16 01:45:16 +0100
committerHaru <haru@dotalux.com>2014-11-16 07:16:22 +0100
commit144e519b095590439968b70141229638c75f207f (patch)
treeefc8fd4a52285a58b80494ea9fb3ec42fa4c439f /src/common/HPMi.h
parent72c36285c7cda6b953782b2291474ef25b8763ee (diff)
downloadhercules-144e519b095590439968b70141229638c75f207f.tar.gz
hercules-144e519b095590439968b70141229638c75f207f.tar.bz2
hercules-144e519b095590439968b70141229638c75f207f.tar.xz
hercules-144e519b095590439968b70141229638c75f207f.zip
Moved HPM_s into HPM.c and removed the HPMi_s symbol from the core
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/common/HPMi.h')
-rw-r--r--src/common/HPMi.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/HPMi.h b/src/common/HPMi.h
index 0f2bed10d..1022a1ec2 100644
--- a/src/common/HPMi.h
+++ b/src/common/HPMi.h
@@ -204,8 +204,9 @@ HPExport struct HPMi_interface {
bool (*addConf) (unsigned int pluginID, enum HPluginConfType type, char *name, void (*func) (const char *val));
/* pc group permission */
void (*addPCGPermission) (unsigned int pluginID, char *name, unsigned int *mask);
-} HPMi_s;
+};
#ifndef HERCULES_CORE
+HPExport struct HPMi_interface HPMi_s;
HPExport struct HPMi_interface *HPMi;
#endif