@@ -58,12 +58,12 @@ static inline php_output_handler_status_t php_output_handler_op(php_output_handl
58
58
static inline int php_output_handler_append (php_output_handler * handler , const php_output_buffer * buf );
59
59
static inline zval * php_output_handler_status (php_output_handler * handler , zval * entry );
60
60
61
- static inline php_output_context * php_output_context_init (php_output_context * context , int op );
61
+ static inline void php_output_context_init (php_output_context * context , int op );
62
62
static inline void php_output_context_reset (php_output_context * context );
63
63
static inline void php_output_context_swap (php_output_context * context );
64
64
static inline void php_output_context_dtor (php_output_context * context );
65
65
66
- static inline int php_output_stack_pop (int flags );
66
+ static int php_output_stack_pop (int flags );
67
67
68
68
static int php_output_stack_apply_op (void * h , void * c );
69
69
static int php_output_stack_apply_clean (void * h , void * c );
@@ -781,16 +781,10 @@ static inline int php_output_lock_error(int op)
781
781
782
782
/* {{{ static php_output_context *php_output_context_init(php_output_context *context, int op)
783
783
* Initialize a new output context */
784
- static inline php_output_context * php_output_context_init (php_output_context * context , int op )
784
+ static inline void php_output_context_init (php_output_context * context , int op )
785
785
{
786
- if (!context ) {
787
- context = emalloc (sizeof (php_output_context ));
788
- }
789
-
790
786
memset (context , 0 , sizeof (php_output_context ));
791
787
context -> op = op ;
792
-
793
- return context ;
794
788
}
795
789
/* }}} */
796
790
@@ -1199,7 +1193,7 @@ static inline zval *php_output_handler_status(php_output_handler *handler, zval
1199
1193
1200
1194
/* {{{ static int php_output_stack_pop(int flags)
1201
1195
* Pops an output handler off the stack */
1202
- static inline int php_output_stack_pop (int flags )
1196
+ static int php_output_stack_pop (int flags )
1203
1197
{
1204
1198
php_output_context context ;
1205
1199
php_output_handler * * current , * orphan = OG (active );
0 commit comments