- errenous function declarations
authorMichael Wallner <mike@php.net>
Wed, 26 Oct 2005 16:55:24 +0000 (16:55 +0000)
committerMichael Wallner <mike@php.net>
Wed, 26 Oct 2005 16:55:24 +0000 (16:55 +0000)
http_message_object.c
http_request_object.c

index 50d949131038d04afc93ae1b85f0f420e70225b8..1db34f8e16cc19605e681290568e6df94e650fb3 100644 (file)
@@ -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;
index cad4bd63783757342c18819336a1714b9edbc1ea..76ba2dd1d2eefc300562f16796701f3c7c9e1ae9 100644 (file)
@@ -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[] = {