summaryrefslogtreecommitdiff
path: root/ext/standard/output.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/output.c')
-rw-r--r--ext/standard/output.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/ext/standard/output.c b/ext/standard/output.c
index 03d81165ff..c372b8efe7 100644
--- a/ext/standard/output.c
+++ b/ext/standard/output.c
@@ -37,29 +37,9 @@ static void php_ob_prepend(const char *text, uint text_length);
static inline void php_ob_send(void);
-typedef struct {
- int (*php_body_write)(const char *str, uint str_length); /* string output */
- int (*php_header_write)(const char *str, uint str_length); /* unbuffer string output */
- char *ob_buffer;
- uint ob_size;
- uint ob_block_size;
- uint ob_text_length;
- unsigned char implicit_flush;
- char *output_start_filename;
- int output_start_lineno;
-} php_output_globals;
-
#ifdef ZTS
-#define OLS_D php_output_globals *output_globals
-#define OLS_C output_globals
-#define OG(v) (output_globals->v)
-#define OLS_FETCH() php_output_globals *output_globals = ts_resource(output_globals_id)
int output_globals_id;
#else
-#define OLS_D void
-#define OLS_C
-#define OG(v) (output_globals.v)
-#define OLS_FETCH()
php_output_globals output_globals;
#endif