diff --git a/phpdbg_bp.c b/phpdbg_bp.c index 799ea11357c..c261ecc1060 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 164ff48facb..f6a8b6bcd7c 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 */