Skip to content

Commit 7bc71d2

Browse files
committed
style: minor fixes.
1 parent 2bcc1f8 commit 7bc71d2

File tree

2 files changed

+24
-24
lines changed

2 files changed

+24
-24
lines changed

src/ngx_http_echo_module.c

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -22,50 +22,50 @@
2222
#include <ngx_log.h>
2323

2424
/* config init handler */
25-
static void * ngx_http_echo_create_loc_conf(ngx_conf_t *cf);
26-
static char * ngx_http_echo_merge_loc_conf(ngx_conf_t *cf, void *parent,
25+
static void *ngx_http_echo_create_loc_conf(ngx_conf_t *cf);
26+
static char *ngx_http_echo_merge_loc_conf(ngx_conf_t *cf, void *parent,
2727
void *child);
2828
static void *ngx_http_echo_create_main_conf(ngx_conf_t *cf);
2929
static ngx_int_t ngx_http_echo_post_config(ngx_conf_t *cf);
3030

3131
/* config directive handlers */
32-
static char * ngx_http_echo_echo(ngx_conf_t *cf, ngx_command_t *cmd,
32+
static char *ngx_http_echo_echo(ngx_conf_t *cf, ngx_command_t *cmd,
3333
void *conf);
34-
static char * ngx_http_echo_echo_request_body(ngx_conf_t *cf,
34+
static char *ngx_http_echo_echo_request_body(ngx_conf_t *cf,
3535
ngx_command_t *cmd, void *conf);
36-
static char * ngx_http_echo_echo_sleep(ngx_conf_t *cf, ngx_command_t *cmd,
36+
static char *ngx_http_echo_echo_sleep(ngx_conf_t *cf, ngx_command_t *cmd,
3737
void *conf);
38-
static char * ngx_http_echo_echo_flush(ngx_conf_t *cf, ngx_command_t *cmd,
38+
static char *ngx_http_echo_echo_flush(ngx_conf_t *cf, ngx_command_t *cmd,
3939
void *conf);
40-
static char * ngx_http_echo_echo_blocking_sleep(ngx_conf_t *cf,
40+
static char *ngx_http_echo_echo_blocking_sleep(ngx_conf_t *cf,
4141
ngx_command_t *cmd, void *conf);
42-
static char * ngx_http_echo_echo_reset_timer(ngx_conf_t *cf,
42+
static char *ngx_http_echo_echo_reset_timer(ngx_conf_t *cf,
4343
ngx_command_t *cmd, void *conf);
44-
static char * ngx_http_echo_echo_before_body(ngx_conf_t *cf,
44+
static char *ngx_http_echo_echo_before_body(ngx_conf_t *cf,
4545
ngx_command_t *cmd, void *conf);
46-
static char * ngx_http_echo_echo_after_body(ngx_conf_t *cf,
46+
static char *ngx_http_echo_echo_after_body(ngx_conf_t *cf,
4747
ngx_command_t *cmd, void *conf);
48-
static char * ngx_http_echo_echo_location_async(ngx_conf_t *cf,
48+
static char *ngx_http_echo_echo_location_async(ngx_conf_t *cf,
4949
ngx_command_t *cmd, void *conf);
50-
static char * ngx_http_echo_echo_location(ngx_conf_t *cf,
50+
static char *ngx_http_echo_echo_location(ngx_conf_t *cf,
5151
ngx_command_t *cmd, void *conf);
52-
static char * ngx_http_echo_echo_subrequest_async(ngx_conf_t *cf,
52+
static char *ngx_http_echo_echo_subrequest_async(ngx_conf_t *cf,
5353
ngx_command_t *cmd, void *conf);
54-
static char * ngx_http_echo_echo_subrequest(ngx_conf_t *cf,
54+
static char *ngx_http_echo_echo_subrequest(ngx_conf_t *cf,
5555
ngx_command_t *cmd, void *conf);
56-
static char * ngx_http_echo_echo_duplicate(ngx_conf_t *cf,
56+
static char *ngx_http_echo_echo_duplicate(ngx_conf_t *cf,
5757
ngx_command_t *cmd, void *conf);
58-
static char * ngx_http_echo_echo_read_request_body(ngx_conf_t *cf,
58+
static char *ngx_http_echo_echo_read_request_body(ngx_conf_t *cf,
5959
ngx_command_t *cmd, void *conf);
60-
static char * ngx_http_echo_echo_foreach_split(ngx_conf_t *cf,
60+
static char *ngx_http_echo_echo_foreach_split(ngx_conf_t *cf,
6161
ngx_command_t *cmd, void *conf);
62-
static char * ngx_http_echo_echo_end(ngx_conf_t *cf,
62+
static char *ngx_http_echo_echo_end(ngx_conf_t *cf,
6363
ngx_command_t *cmd, void *conf);
64-
static char * ngx_http_echo_echo_abort_parent(ngx_conf_t *cf,
64+
static char *ngx_http_echo_echo_abort_parent(ngx_conf_t *cf,
6565
ngx_command_t *cmd, void *conf);
66-
static char * ngx_http_echo_echo_exec(ngx_conf_t *cf,
66+
static char *ngx_http_echo_echo_exec(ngx_conf_t *cf,
6767
ngx_command_t *cmd, void *conf);
68-
static char * ngx_http_echo_helper(ngx_http_echo_opcode_t opcode,
68+
static char *ngx_http_echo_helper(ngx_http_echo_opcode_t opcode,
6969
ngx_http_echo_cmd_category_t cat,
7070
ngx_conf_t *cf, ngx_command_t *cmd, void *conf);
7171

src/ngx_http_echo_util.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ ngx_http_echo_hash_str(u_char *src, size_t n)
3838
extern ngx_uint_t ngx_http_echo_content_length_hash;
3939

4040

41-
ngx_http_echo_ctx_t * ngx_http_echo_create_ctx(ngx_http_request_t *r);
41+
ngx_http_echo_ctx_t *ngx_http_echo_create_ctx(ngx_http_request_t *r);
4242
ngx_int_t ngx_http_echo_eval_cmd_args(ngx_http_request_t *r,
4343
ngx_http_echo_cmd_t *cmd, ngx_array_t *computed_args,
4444
ngx_array_t *opts);
@@ -47,10 +47,10 @@ ngx_int_t ngx_http_echo_send_header_if_needed(ngx_http_request_t* r,
4747
ngx_int_t ngx_http_echo_send_chain_link(ngx_http_request_t* r,
4848
ngx_http_echo_ctx_t *ctx, ngx_chain_t *cl);
4949
ssize_t ngx_http_echo_atosz(u_char *line, size_t n);
50-
u_char * ngx_http_echo_strlstrn(u_char *s1, u_char *last, u_char *s2, size_t n);
50+
u_char *ngx_http_echo_strlstrn(u_char *s1, u_char *last, u_char *s2, size_t n);
5151
ngx_int_t ngx_http_echo_post_request_at_head(ngx_http_request_t *r,
5252
ngx_http_posted_request_t *pr);
53-
u_char * ngx_http_echo_rebase_path(ngx_pool_t *pool, u_char *src, size_t osize,
53+
u_char *ngx_http_echo_rebase_path(ngx_pool_t *pool, u_char *src, size_t osize,
5454
size_t *nsize);
5555
ngx_int_t ngx_http_echo_flush_postponed_outputs(ngx_http_request_t *r);
5656

0 commit comments

Comments
 (0)