]> granicus.if.org Git - php/commitdiff
reduce struct size by 8 byte on 64 bit
authorAnatol Belski <ab@php.net>
Sun, 14 Sep 2014 20:31:01 +0000 (22:31 +0200)
committerAnatol Belski <ab@php.net>
Sun, 14 Sep 2014 20:31:01 +0000 (22:31 +0200)
sapi/cgi/cgi_main.c

index 5c81c14cc12234d90d16c3c4cf522d1e7fac0014..be02aac17a27c803f7a0e4dcc0329af22523714e 100644 (file)
@@ -159,6 +159,8 @@ static const opt_struct OPTIONS[] = {
 };
 
 typedef struct _php_cgi_globals_struct {
+       HashTable user_config_cache;
+       char *redirect_status_env;
        zend_bool rfc2616_headers;
        zend_bool nph;
        zend_bool check_shebang_line;
@@ -166,11 +168,9 @@ typedef struct _php_cgi_globals_struct {
        zend_bool force_redirect;
        zend_bool discard_path;
        zend_bool fcgi_logging;
-       char *redirect_status_env;
 #ifdef PHP_WIN32
        zend_bool impersonate;
 #endif
-       HashTable user_config_cache;
 } php_cgi_globals_struct;
 
 /* {{{ user_config_cache