Skip to content

Commit d35cfc5

Browse files
committed
doc: add vim modeline in exitworkerbylua.c
1 parent 66de2d3 commit d35cfc5

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

src/ngx_http_lua_exitworkerby.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,3 +107,6 @@ ngx_http_lua_exit_worker_by_file(ngx_log_t *log, ngx_http_lua_main_conf_t *lmcf,
107107

108108
return ngx_http_lua_report(log, L, status, "exit_worker_by_lua_file");
109109
}
110+
111+
112+
/* vi:set ft=c ts=4 sw=4 et fdm=marker: */

src/ngx_http_lua_exitworkerby.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
*/
55

66

7-
#ifndef _NGX_HTTP_LUA_EXITWORKERBY_H_INCLUDE_
8-
#define _NGX_HTTP_LUA_EXITWORKERBY_H_INCLUDE_
7+
#ifndef _NGX_HTTP_LUA_EXITWORKERBY_H_INCLUDED_
8+
#define _NGX_HTTP_LUA_EXITWORKERBY_H_INCLUDED_
99

1010

1111
#include "ngx_http_lua_common.h"
@@ -20,6 +20,6 @@ ngx_int_t ngx_http_lua_exit_worker_by_file(ngx_log_t *log,
2020
void ngx_http_lua_exit_worker(ngx_cycle_t *cycle);
2121

2222

23-
#endif /* _NGX_HTTP_LUA_EXITWORKERBY_H_INCLUDE_ */
23+
#endif /* _NGX_HTTP_LUA_EXITWORKERBY_H_INCLUDED_ */
2424

2525
/* vi:set ft=c ts=4 sw=4 et fdm=marker: */

0 commit comments

Comments
 (0)