Skip to content

Commit

Permalink
Added missing "static" specifiers found by gcc -Wtraditional.
Browse files Browse the repository at this point in the history
  • Loading branch information
mdocguard committed Mar 6, 2017
1 parent 0759f08 commit 0f89206
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/event/modules/ngx_devpoll_module.c
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ ngx_devpoll_set_event(ngx_event_t *ev, ngx_int_t event, ngx_uint_t flags)
}


ngx_int_t
static ngx_int_t
ngx_devpoll_process_events(ngx_cycle_t *cycle, ngx_msec_t timer,
ngx_uint_t flags)
{
Expand Down
2 changes: 1 addition & 1 deletion src/event/modules/ngx_eventport_module.c
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ ngx_eventport_notify(ngx_event_handler_pt handler)
}


ngx_int_t
static ngx_int_t
ngx_eventport_process_events(ngx_cycle_t *cycle, ngx_msec_t timer,
ngx_uint_t flags)
{
Expand Down
2 changes: 1 addition & 1 deletion src/http/ngx_http_upstream.c
Original file line number Diff line number Diff line change
Expand Up @@ -5554,7 +5554,7 @@ ngx_http_upstream_cookie_variable(ngx_http_request_t *r,

#if (NGX_HTTP_CACHE)

ngx_int_t
static ngx_int_t
ngx_http_upstream_cache_status(ngx_http_request_t *r,
ngx_http_variable_value_t *v, uintptr_t data)
{
Expand Down

0 comments on commit 0f89206

Please sign in to comment.