Permalink
Browse files

function_entry declaration seems to be obsolete on php5.4. use instea…

…d of zend_function_entry.
  • Loading branch information...
1 parent 19b8b2d commit a3bfd795eba79efc94e27d551690acc8aed5ae11 @chobie committed Aug 3, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/php_sundown.c
View
@@ -231,7 +231,7 @@ PHP_METHOD(sundown, to_toc)
sundown__render(SUNDOWN_RENDER_TOC,INTERNAL_FUNCTION_PARAM_PASSTHRU);
}
-static function_entry php_sundown_methods[] = {
+static zend_function_entry php_sundown_methods[] = {
PHP_ME(sundown, __construct, arginfo_sundown__construct, ZEND_ACC_PUBLIC)
PHP_ME(sundown, __destruct, NULL, ZEND_ACC_PUBLIC)
PHP_ME(sundown, to_html, NULL, ZEND_ACC_PUBLIC)

0 comments on commit a3bfd79

Please sign in to comment.