Skip to content

Commit 2d8b492

Browse files
committed
minor coding style fixes.
1 parent 54a5125 commit 2d8b492

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

src/ngx_http_rds_json_filter_module.c

+7-7
Original file line numberDiff line numberDiff line change
@@ -39,24 +39,24 @@ ngx_http_output_header_filter_pt ngx_http_rds_json_next_header_filter;
3939
ngx_http_output_body_filter_pt ngx_http_rds_json_next_body_filter;
4040

4141

42-
static void * ngx_http_rds_json_create_main_conf(ngx_conf_t *cf);
42+
static void *ngx_http_rds_json_create_main_conf(ngx_conf_t *cf);
4343
static char *ngx_http_rds_json_ret(ngx_conf_t *cf, ngx_command_t *cmd,
4444
void *conf);
4545
static void *ngx_http_rds_json_create_loc_conf(ngx_conf_t *cf);
4646
static char *ngx_http_rds_json_merge_loc_conf(ngx_conf_t *cf, void *parent,
4747
void *child);
4848
static ngx_int_t ngx_http_rds_json_filter_init(ngx_conf_t *cf);
49-
static char * ngx_http_rds_json_root(ngx_conf_t *cf, ngx_command_t *cmd,
49+
static char *ngx_http_rds_json_root(ngx_conf_t *cf, ngx_command_t *cmd,
5050
void *conf);
51-
static char * ngx_http_rds_json_success_property(ngx_conf_t *cf,
51+
static char *ngx_http_rds_json_success_property(ngx_conf_t *cf,
5252
ngx_command_t *cmd, void *conf);
53-
static char * ngx_http_rds_json_user_property(ngx_conf_t *cf,
53+
static char *ngx_http_rds_json_user_property(ngx_conf_t *cf,
5454
ngx_command_t *cmd, void *conf);
55-
static char * ngx_http_rds_json_errcode_key(ngx_conf_t *cf, ngx_command_t *cmd,
55+
static char *ngx_http_rds_json_errcode_key(ngx_conf_t *cf, ngx_command_t *cmd,
5656
void *conf);
57-
static char * ngx_http_rds_json_errstr_key(ngx_conf_t *cf, ngx_command_t *cmd,
57+
static char *ngx_http_rds_json_errstr_key(ngx_conf_t *cf, ngx_command_t *cmd,
5858
void *conf);
59-
static char * ngx_http_rds_json(ngx_conf_t *cf, ngx_command_t *cmd, void *conf);
59+
static char *ngx_http_rds_json(ngx_conf_t *cf, ngx_command_t *cmd, void *conf);
6060

6161

6262
static ngx_command_t ngx_http_rds_json_commands[] = {

src/ngx_http_rds_json_output.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@
1717
#include <nginx.h>
1818

1919

20-
static u_char * ngx_http_rds_json_request_mem(ngx_http_request_t *r,
20+
static u_char *ngx_http_rds_json_request_mem(ngx_http_request_t *r,
2121
ngx_http_rds_json_ctx_t *ctx, size_t len);
2222
static ngx_int_t ngx_http_rds_json_get_buf(ngx_http_request_t *r,
2323
ngx_http_rds_json_ctx_t *ctx);
24-
static u_char * ngx_http_rds_json_get_postponed(ngx_http_request_t *r,
24+
static u_char *ngx_http_rds_json_get_postponed(ngx_http_request_t *r,
2525
ngx_http_rds_json_ctx_t *ctx, size_t len);
2626
static ngx_int_t ngx_http_rds_json_submit_mem(ngx_http_request_t *r,
2727
ngx_http_rds_json_ctx_t *ctx, size_t len, unsigned last_buf);

0 commit comments

Comments
 (0)