- use PHP macros, so that it is obvious when to call what
[m6w6/ext-http] / http_util_object.c
index 5829c194d539e0c56061bc8ddae35163f2daa67a..a97984d7bea76f5f3a6d8a2319852a92a89535fd 100644 (file)
@@ -135,9 +135,10 @@ zend_function_entry http_util_object_fe[] = {
        EMPTY_FUNCTION_ENTRY
 };
 
-void _http_util_object_init(INIT_FUNC_ARGS)
+PHP_MINIT_FUNCTION(http_util_object)
 {
        HTTP_REGISTER_CLASS(HttpUtil, http_util_object, NULL, 0);
+       return SUCCESS;
 }
 
 #endif /* ZEND_ENGINE_2 */