summaryrefslogtreecommitdiff
path: root/ext/gd/gd.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/gd/gd.c')
-rw-r--r--ext/gd/gd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/gd/gd.c b/ext/gd/gd.c
index 438e23a1e9..e08cb624c1 100644
--- a/ext/gd/gd.c
+++ b/ext/gd/gd.c
@@ -172,7 +172,7 @@ static php_gd_globals gd_globals;
#ifdef COMPILE_DL_GD
# include "dl/phpdl.h"
-DLEXPORT zend_module_entry *get_module(void) { return &gd_module_entry; }
+ZEND_GET_MODULE(gd)
#endif