diff src/event/ngx_event_quic.c @ 8638:d1cf691a82e8 quic

Core: hide "struct ngx_quic_connection_s" and further reduce diffs. As with the previous change, it became feasible with feec2cc762f6 that removes ngx_quic_connection_t from ngx_connection_s.
author Sergey Kandaurov <pluknet@nginx.com>
date Fri, 13 Nov 2020 15:11:29 +0000
parents 831d1960826f
children 9d28e9028aa5
line wrap: on
line diff
--- a/src/event/ngx_event_quic.c
+++ b/src/event/ngx_event_quic.c
@@ -114,7 +114,7 @@ typedef struct {
 } ngx_quic_send_ctx_t;
 
 
-struct ngx_quic_connection_s {
+typedef struct {
     ngx_udp_connection_t              udp;
 
     uint32_t                          version;
@@ -182,7 +182,7 @@ struct ngx_quic_connection_s {
     unsigned                          in_retry:1;
     unsigned                          initialized:1;
     unsigned                          validated:1;
-};
+} ngx_quic_connection_t;
 
 
 typedef struct {