diff --git a/src/php/ext/grpc/php_grpc.c b/src/php/ext/grpc/php_grpc.c index 16b40617e05..87de0376d45 100644 --- a/src/php/ext/grpc/php_grpc.c +++ b/src/php/ext/grpc/php_grpc.c @@ -247,6 +247,9 @@ void apply_ini_settings(TSRMLS_D) { } } + +/* {{{ PHP_MINIT_FUNCTION + */ PHP_MINIT_FUNCTION(grpc) { REGISTER_INI_ENTRIES(); diff --git a/tools/run_tests/sanity/banned_functions.py b/tools/run_tests/sanity/banned_functions.py index 9faefb5ade2..bee968ba356 100755 --- a/tools/run_tests/sanity/banned_functions.py +++ b/tools/run_tests/sanity/banned_functions.py @@ -34,7 +34,6 @@ BANNED_EXCEPT = { "./src/core/util/log.cc", "./src/core/util/posix/log.cc", "./src/core/util/windows/log.cc", - "./src/php/ext/grpc/php_grpc.c", "./src/ruby/ext/grpc/rb_grpc_imports.generated.c", "./src/ruby/ext/grpc/rb_grpc_imports.generated.h", "./test/core/end2end/tests/no_logging.cc",