summaryrefslogtreecommitdiff
path: root/ext/snmp/snmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/snmp/snmp.c')
-rw-r--r--ext/snmp/snmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/snmp/snmp.c b/ext/snmp/snmp.c
index 5bcc552a9a..0c4d890d61 100644
--- a/ext/snmp/snmp.c
+++ b/ext/snmp/snmp.c
@@ -93,7 +93,7 @@ zend_module_entry snmp_module_entry = {
};
#if COMPILE_DL
-DLEXPORT zend_module_entry *get_module() { return &snmp_module_entry; };
+ZEND_GET_MODULE(snmp)
#endif
/* THREAD_LS snmp_module php_snmp_module; - may need one of these at some point */