From: krakjoe Date: Mon, 11 Nov 2013 13:07:02 +0000 (+0000) Subject: ... X-Git-Tag: php-5.6.0alpha1~110^2~488 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=be460647ef869b602ca3cd98ae2560446547500f;p=php ... --- diff --git a/phpdbg_bp.c b/phpdbg_bp.c index 799ea11357..c261ecc106 100644 --- a/phpdbg_bp.c +++ b/phpdbg_bp.c @@ -152,9 +152,7 @@ int phpdbg_find_breakpoint_symbol(zend_function *fbc TSRMLS_DC) /* {{{ */ return FAILURE; } /* }}} */ -typedef struct _zend_op *zend_op_ptr; - -int phpdbg_find_breakpoint_opline(zend_op_ptr opline TSRMLS_DC) /* {{{ */ +int phpdbg_find_breakpoint_opline(phpdbg_opline_ptr_t opline TSRMLS_DC) /* {{{ */ { phpdbg_breakline_t *bp; diff --git a/phpdbg_bp.h b/phpdbg_bp.h index 164ff48fac..f6a8b6bcd7 100644 --- a/phpdbg_bp.h +++ b/phpdbg_bp.h @@ -20,6 +20,9 @@ #ifndef PHPDBG_BP_H #define PHPDBG_BP_H +/* {{{ */ +typedef struct _zend_op *phpdbg_opline_ptr_t; /* }}} */ + /** * Breakpoint file-based representation */ @@ -52,6 +55,6 @@ void phpdbg_set_breakpoint_opline(const char* TSRMLS_DC); int phpdbg_find_breakpoint_file(zend_op_array* TSRMLS_DC); int phpdbg_find_breakpoint_symbol(zend_function* TSRMLS_DC); -int phpdbg_find_breakpoint_opline(zend_op* TSRMLS_DC); +int phpdbg_find_breakpoint_opline(phpdbg_opline_ptr_t TSRMLS_DC); #endif /* PHPDBG_BP_H */