aboutsummaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/ngx_cycle.c4
-rw-r--r--src/core/ngx_cycle.h12
2 files changed, 0 insertions, 16 deletions
diff --git a/src/core/ngx_cycle.c b/src/core/ngx_cycle.c
index 4646978f7..e9dfdfc2a 100644
--- a/src/core/ngx_cycle.c
+++ b/src/core/ngx_cycle.c
@@ -26,10 +26,6 @@ static ngx_event_t ngx_cleaner_event;
ngx_uint_t ngx_test_config;
ngx_uint_t ngx_quiet_mode;
-#if (NGX_OLD_THREADS)
-ngx_tls_key_t ngx_core_tls_key;
-#endif
-
/* STUB NAME */
static ngx_connection_t dumb;
diff --git a/src/core/ngx_cycle.h b/src/core/ngx_cycle.h
index 28f1886cc..ba876867f 100644
--- a/src/core/ngx_cycle.h
+++ b/src/core/ngx_cycle.h
@@ -112,15 +112,6 @@ typedef struct {
} ngx_core_conf_t;
-#if (NGX_OLD_THREADS)
-
-typedef struct {
- ngx_pool_t *pool; /* pcre's malloc() pool */
-} ngx_core_tls_t;
-
-#endif
-
-
#define ngx_is_init_cycle(cycle) (cycle->conf_ctx == NULL)
@@ -141,9 +132,6 @@ extern ngx_array_t ngx_old_cycles;
extern ngx_module_t ngx_core_module;
extern ngx_uint_t ngx_test_config;
extern ngx_uint_t ngx_quiet_mode;
-#if (NGX_OLD_THREADS)
-extern ngx_tls_key_t ngx_core_tls_key;
-#endif
#endif /* _NGX_CYCLE_H_INCLUDED_ */