From: Andi Gutmans Date: Sat, 11 Nov 2000 17:59:47 +0000 (+0000) Subject: - Move SET_UNUSED() to header X-Git-Tag: php-4.0.4RC3~241 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1ccf94066cd6f00ccb3b4d0f572c35514030cb44;p=php - Move SET_UNUSED() to header --- diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c index 33616a0d5a..cf1b4956b9 100644 --- a/Zend/zend_compile.c +++ b/Zend/zend_compile.c @@ -34,9 +34,6 @@ ZEND_API zend_compiler_globals compiler_globals; ZEND_API zend_executor_globals executor_globals; #endif - -#define SET_UNUSED(op) (op).op_type = IS_UNUSED - static void free_filename(void *p) { efree(*((char **) p)); diff --git a/Zend/zend_compile.h b/Zend/zend_compile.h index bc771935e6..b6f87f7628 100644 --- a/Zend/zend_compile.h +++ b/Zend/zend_compile.h @@ -44,6 +44,7 @@ #define FREE_PNODE(znode) zval_dtor(&znode->u.constant); #define FREE_OP(op, should_free) if (should_free) zval_dtor(&Ts[(op)->u.var].tmp_var); +#define SET_UNUSED(op) (op).op_type = IS_UNUSED #if SUPPORT_INTERACTIVE #define INC_BPC(op_array) ((op_array)->backpatch_count++)