X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=src%2Fphp_pq_module.c;h=1fe68f5e4ce5270672ab3692418fee9806668d95;hb=19011ee23e5bdb9a46778e190a61e4ce6c765be7;hp=786430429b136319020f2de0ae1314da31336a54;hpb=9255d2d54bca41644cf3588e4e4259a1855b58d7;p=m6w6%2Fext-pq diff --git a/src/php_pq_module.c b/src/php_pq_module.c index 7864304..1fe68f5 100644 --- a/src/php_pq_module.c +++ b/src/php_pq_module.c @@ -20,18 +20,6 @@ #include -/* -#include -#include -#include -#include -#include - -#include -#include -#include -*/ - #include "php_pq.h" #include "php_pq_misc.h" #include "php_pqcancel.h" @@ -114,13 +102,14 @@ static PHP_MINFO_FUNCTION(pq) php_info_print_table_end(); } -const zend_function_entry pq_functions[] = { +static const zend_function_entry pq_functions[] = { {0} }; static zend_module_dep pq_module_deps[] = { ZEND_MOD_REQUIRED("raphf") ZEND_MOD_REQUIRED("spl") + ZEND_MOD_OPTIONAL("json") ZEND_MOD_END };