Welcome! Log In Create A New Profile

Advanced

[PATCH 1 of 2] Core: remove unused NGX_SIG_ATOMIC_T_SIZE

Piotr Sikora
June 27, 2016 09:32PM
# HG changeset patch
# User Piotr Sikora <piotrsikora@google.com>
# Date 1467064809 25200
# Mon Jun 27 15:00:09 2016 -0700
# Node ID 1059f59c44039020843ced5bca39f165c322bacb
# Parent d452cb27639f714bc43b7f3ede417e3e7f8efdd6
Core: remove unused NGX_SIG_ATOMIC_T_SIZE.

Unused since 9c2f3ed7a247 (0.3.3).

Signed-off-by: Piotr Sikora <piotrsikora@google.com>

diff -r d452cb27639f -r 1059f59c4403 auto/unix
--- a/auto/unix
+++ b/auto/unix
@@ -602,8 +602,6 @@ ngx_type="uint32_t"; ngx_types="u_int32_
ngx_type="uint64_t"; ngx_types="u_int64_t"; . auto/types/typedef

ngx_type="sig_atomic_t"; ngx_types="int"; . auto/types/typedef
-. auto/types/sizeof
-ngx_param=NGX_SIG_ATOMIC_T_SIZE; ngx_value=$ngx_size; . auto/types/value

ngx_type="socklen_t"; ngx_types="int"; . auto/types/typedef

diff -r d452cb27639f -r 1059f59c4403 src/core/ngx_module.h
--- a/src/core/ngx_module.h
+++ b/src/core/ngx_module.h
@@ -20,7 +20,6 @@

#define NGX_MODULE_SIGNATURE_0 \
ngx_value(NGX_PTR_SIZE) "," \
- ngx_value(NGX_SIG_ATOMIC_T_SIZE) "," \
ngx_value(NGX_TIME_T_SIZE) ","

#if (NGX_HAVE_KQUEUE)
diff -r d452cb27639f -r 1059f59c4403 src/os/win32/ngx_win32_config.h
--- a/src/os/win32/ngx_win32_config.h
+++ b/src/os/win32/ngx_win32_config.h
@@ -217,7 +217,6 @@ typedef int sig_atomic_t

#define NGX_OFF_T_LEN (sizeof("-9223372036854775807") - 1)
#define NGX_MAX_OFF_T_VALUE 9223372036854775807
-#define NGX_SIG_ATOMIC_T_SIZE 4


#define NGX_HAVE_LITTLE_ENDIAN 1

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[PATCH 1 of 2] Core: remove unused NGX_SIG_ATOMIC_T_SIZE

Piotr Sikora 352 June 27, 2016 09:32PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 219
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready