diff options
author | Arpad Ray <arpad@php.net> | 2011-11-11 14:42:18 +0000 |
---|---|---|
committer | Arpad Ray <arpad@php.net> | 2011-11-11 14:42:18 +0000 |
commit | 8b6a2d257aaf81d2214199e56227c9d7f8b427ae (patch) | |
tree | e3ef2a18148367437b2640d4c67e4410f61245e2 /ext/standard/basic_functions.h | |
parent | 1c0765195ecbb5f47d6a6e953288c657b0de58f8 (diff) | |
download | php-git-8b6a2d257aaf81d2214199e56227c9d7f8b427ae.tar.gz |
Fix hash key length in register/remove_user_shutdown_function
Diffstat (limited to 'ext/standard/basic_functions.h')
-rw-r--r-- | ext/standard/basic_functions.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/standard/basic_functions.h b/ext/standard/basic_functions.h index e7c66e6cf6..2232ed7d4d 100644 --- a/ext/standard/basic_functions.h +++ b/ext/standard/basic_functions.h @@ -257,8 +257,8 @@ typedef struct _php_shutdown_function_entry { int arg_count; } php_shutdown_function_entry; -PHPAPI extern zend_bool register_user_shutdown_function(char *function_name, php_shutdown_function_entry *shutdown_function_entry TSRMLS_DC); -PHPAPI extern zend_bool remove_user_shutdown_function(char *function_name TSRMLS_DC); +PHPAPI extern zend_bool register_user_shutdown_function(char *function_name, size_t function_len, php_shutdown_function_entry *shutdown_function_entry TSRMLS_DC); +PHPAPI extern zend_bool remove_user_shutdown_function(char *function_name, size_t function_len TSRMLS_DC); PHPAPI extern zend_bool append_user_shutdown_function(php_shutdown_function_entry shutdown_function_entry TSRMLS_DC); #endif /* BASIC_FUNCTIONS_H */ |