Mercurial > hg > nginx
comparison src/event/ngx_event.c @ 6922:a72886067bbb
Added missing static specifiers.
author | Eran Kornblau <erankor@gmail.com> |
---|---|
date | Thu, 02 Mar 2017 08:46:00 -0500 |
parents | 6acaa638fa07 |
children | a8d7c9139831 |
comparison
equal
deleted
inserted
replaced
6921:7fca6f60d5ca | 6922:a72886067bbb |
---|---|
57 ngx_int_t ngx_accept_disabled; | 57 ngx_int_t ngx_accept_disabled; |
58 | 58 |
59 | 59 |
60 #if (NGX_STAT_STUB) | 60 #if (NGX_STAT_STUB) |
61 | 61 |
62 ngx_atomic_t ngx_stat_accepted0; | 62 static ngx_atomic_t ngx_stat_accepted0; |
63 ngx_atomic_t *ngx_stat_accepted = &ngx_stat_accepted0; | 63 ngx_atomic_t *ngx_stat_accepted = &ngx_stat_accepted0; |
64 ngx_atomic_t ngx_stat_handled0; | 64 static ngx_atomic_t ngx_stat_handled0; |
65 ngx_atomic_t *ngx_stat_handled = &ngx_stat_handled0; | 65 ngx_atomic_t *ngx_stat_handled = &ngx_stat_handled0; |
66 ngx_atomic_t ngx_stat_requests0; | 66 static ngx_atomic_t ngx_stat_requests0; |
67 ngx_atomic_t *ngx_stat_requests = &ngx_stat_requests0; | 67 ngx_atomic_t *ngx_stat_requests = &ngx_stat_requests0; |
68 ngx_atomic_t ngx_stat_active0; | 68 static ngx_atomic_t ngx_stat_active0; |
69 ngx_atomic_t *ngx_stat_active = &ngx_stat_active0; | 69 ngx_atomic_t *ngx_stat_active = &ngx_stat_active0; |
70 ngx_atomic_t ngx_stat_reading0; | 70 static ngx_atomic_t ngx_stat_reading0; |
71 ngx_atomic_t *ngx_stat_reading = &ngx_stat_reading0; | 71 ngx_atomic_t *ngx_stat_reading = &ngx_stat_reading0; |
72 ngx_atomic_t ngx_stat_writing0; | 72 static ngx_atomic_t ngx_stat_writing0; |
73 ngx_atomic_t *ngx_stat_writing = &ngx_stat_writing0; | 73 ngx_atomic_t *ngx_stat_writing = &ngx_stat_writing0; |
74 ngx_atomic_t ngx_stat_waiting0; | 74 static ngx_atomic_t ngx_stat_waiting0; |
75 ngx_atomic_t *ngx_stat_waiting = &ngx_stat_waiting0; | 75 ngx_atomic_t *ngx_stat_waiting = &ngx_stat_waiting0; |
76 | 76 |
77 #endif | 77 #endif |
78 | 78 |
79 | 79 |
80 | 80 |
163 | 163 |
164 ngx_null_command | 164 ngx_null_command |
165 }; | 165 }; |
166 | 166 |
167 | 167 |
168 ngx_event_module_t ngx_event_core_module_ctx = { | 168 static ngx_event_module_t ngx_event_core_module_ctx = { |
169 &event_core_name, | 169 &event_core_name, |
170 ngx_event_core_create_conf, /* create configuration */ | 170 ngx_event_core_create_conf, /* create configuration */ |
171 ngx_event_core_init_conf, /* init configuration */ | 171 ngx_event_core_init_conf, /* init configuration */ |
172 | 172 |
173 { NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL } | 173 { NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL } |