]> git.kaiwu.me - nginx.git/commitdiff
Modules compatibility: removed unneeded NGX_HAVE_REUSEPORT checks.
authorMaxim Dounin <mdounin@mdounin.ru>
Mon, 3 Oct 2016 12:58:29 +0000 (15:58 +0300)
committerMaxim Dounin <mdounin@mdounin.ru>
Mon, 3 Oct 2016 12:58:29 +0000 (15:58 +0300)
Removed NGX_HAVE_REUSEPORT from the signature accordingly.

src/core/ngx_connection.h
src/core/ngx_module.h
src/http/ngx_http_core_module.h
src/stream/ngx_stream.h

index d9ee6851eb5cf967926f35c7c0ce486921a50cd0..36907dda7e9a32256104f32147f6297fc92ed6c6 100644 (file)
@@ -69,10 +69,8 @@ struct ngx_listening_s {
 #if (NGX_HAVE_INET6)
     unsigned            ipv6only:1;
 #endif
-#if (NGX_HAVE_REUSEPORT)
     unsigned            reuseport:1;
     unsigned            add_reuseport:1;
-#endif
     unsigned            keepalive:2;
 
 #if (NGX_HAVE_DEFERRED_ACCEPT)
index 4ddab5604ce5c00e19e5c0ed438bd3d6cde610d9..51a9baa060ca911dc74cf4576abe3691fe582278 100644 (file)
 #endif
 
 #define NGX_MODULE_SIGNATURE_9   "1"
-
-#if (NGX_HAVE_REUSEPORT)
 #define NGX_MODULE_SIGNATURE_10  "1"
-#else
-#define NGX_MODULE_SIGNATURE_10  "0"
-#endif
 
 #if (NGX_HAVE_DEFERRED_ACCEPT && defined SO_ACCEPTFILTER)
 #define NGX_MODULE_SIGNATURE_11  "1"
index fdd70041da0d7473eaf39ce0083de3259b935072..78f69e2248ce93dd8229edee41508b25eeebbbc3 100644 (file)
@@ -72,9 +72,7 @@ typedef struct {
 #if (NGX_HAVE_INET6)
     unsigned                   ipv6only:1;
 #endif
-#if (NGX_HAVE_REUSEPORT)
     unsigned                   reuseport:1;
-#endif
     unsigned                   so_keepalive:2;
     unsigned                   proxy_protocol:1;
 
index 7cb8ae31de10cf9e99e6fd708dd0a03525a91b79..15b96ff19212c75eed886db8a8ac886a5cc49079 100644 (file)
@@ -55,9 +55,7 @@ typedef struct {
 #if (NGX_HAVE_INET6)
     unsigned                       ipv6only:1;
 #endif
-#if (NGX_HAVE_REUSEPORT)
     unsigned                       reuseport:1;
-#endif
     unsigned                       so_keepalive:2;
     unsigned                       proxy_protocol:1;
 #if (NGX_HAVE_KEEPALIVE_TUNABLE)