summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sapi/fpm/fpm/fpm_env.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sapi/fpm/fpm/fpm_env.c b/sapi/fpm/fpm/fpm_env.c
index ef7c980efb..9931ab480c 100644
--- a/sapi/fpm/fpm/fpm_env.c
+++ b/sapi/fpm/fpm/fpm_env.c
@@ -199,9 +199,6 @@ static int fpm_env_conf_wp(struct fpm_worker_pool_s *wp) /* {{{ */
int fpm_env_init_main() /* {{{ */
{
struct fpm_worker_pool_s *wp;
- int i;
- char *first = NULL;
- char *last = NULL;
char *title;
for (wp = fpm_worker_all_pools; wp; wp = wp->next) {
@@ -211,6 +208,9 @@ int fpm_env_init_main() /* {{{ */
}
#ifndef HAVE_SETPROCTITLE
#ifdef __linux__
+ int i;
+ char *first = NULL;
+ char *last = NULL;
/*
* This piece of code has been inspirated from nginx and pureftpd code, which
* are under BSD licence.