From: Michael Wallner Date: Wed, 26 Oct 2005 16:55:24 +0000 (+0000) Subject: - errenous function declarations X-Git-Tag: RELEASE_0_17_0~16 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=8cba9d81560b60079a53241b3f906e9dff50196e;p=m6w6%2Fext-http - errenous function declarations --- diff --git a/http_message_object.c b/http_message_object.c index 50d9491..1db34f8 100644 --- a/http_message_object.c +++ b/http_message_object.c @@ -97,8 +97,6 @@ static zval *_http_message_object_read_prop(zval *object, zval *member, int type static void _http_message_object_write_prop(zval *object, zval *member, zval *value TSRMLS_DC); #define http_message_object_get_props _http_message_object_get_props static HashTable *_http_message_object_get_props(zval *object TSRMLS_DC); -#define http_message_object_clone_obj _http_message_object_clone_obj -static inline zend_object_value _http_message_object_clone_obj(zval *object TSRMLS_DC); zend_class_entry *http_message_object_ce; zend_function_entry http_message_object_fe[] = { @@ -138,7 +136,7 @@ PHP_MINIT_FUNCTION(http_message_object) HTTP_LONG_CONSTANT("HTTP_MSG_REQUEST", HTTP_MSG_REQUEST); HTTP_LONG_CONSTANT("HTTP_MSG_RESPONSE", HTTP_MSG_RESPONSE); - http_message_object_handlers.clone_obj = http_message_object_clone_obj; + http_message_object_handlers.clone_obj = _http_message_object_clone_obj; http_message_object_handlers.read_property = http_message_object_read_prop; http_message_object_handlers.write_property = http_message_object_write_prop; http_message_object_handlers.get_properties = http_message_object_get_props; diff --git a/http_request_object.c b/http_request_object.c index cad4bd6..76ba2dd 100644 --- a/http_request_object.c +++ b/http_request_object.c @@ -219,8 +219,6 @@ HTTP_END_ARGS; #define http_request_object_declare_default_properties() _http_request_object_declare_default_properties(TSRMLS_C) static inline void _http_request_object_declare_default_properties(TSRMLS_D); -#define http_request_object_clone_obj _http_request_object_clone_obj -static inline zend_object_value _http_request_object_clone_obj(zval *object TSRMLS_DC); zend_class_entry *http_request_object_ce; zend_function_entry http_request_object_fe[] = {