X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=http_message_object.c;h=18d3793dea0d90a55216af845a9eefdff253f168;hp=637ee06aea7f868df37f20e5e2309b5a9599b394;hb=76d019d55561c397209d49f7d594f2cfe022cdf9;hpb=791714f8fbc8e92970711321a3fd99331df566f1 diff --git a/http_message_object.c b/http_message_object.c index 637ee06..18d3793 100644 --- a/http_message_object.c +++ b/http_message_object.c @@ -30,6 +30,7 @@ #include "php_http_exception_object.h" #include "phpstr/phpstr.h" +#include "missing.h" ZEND_EXTERN_MODULE_GLOBALS(http); @@ -128,8 +129,6 @@ static zend_object_handlers http_message_object_handlers; void _http_message_object_init(INIT_FUNC_ARGS) { - zval constants; - HTTP_REGISTER_CLASS_EX(HttpMessage, http_message_object, NULL, 0); HTTP_LONG_CONSTANT("HTTP_MSG_NONE", HTTP_MSG_NONE);