Skip to content

Commit

Permalink
minor coding style fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
agentzh committed Jun 22, 2015
1 parent 54a5125 commit 2d8b492
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions src/ngx_http_rds_json_filter_module.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,24 +39,24 @@ ngx_http_output_header_filter_pt ngx_http_rds_json_next_header_filter;
ngx_http_output_body_filter_pt ngx_http_rds_json_next_body_filter;


static void * ngx_http_rds_json_create_main_conf(ngx_conf_t *cf);
static void *ngx_http_rds_json_create_main_conf(ngx_conf_t *cf);
static char *ngx_http_rds_json_ret(ngx_conf_t *cf, ngx_command_t *cmd,
void *conf);
static void *ngx_http_rds_json_create_loc_conf(ngx_conf_t *cf);
static char *ngx_http_rds_json_merge_loc_conf(ngx_conf_t *cf, void *parent,
void *child);
static ngx_int_t ngx_http_rds_json_filter_init(ngx_conf_t *cf);
static char * ngx_http_rds_json_root(ngx_conf_t *cf, ngx_command_t *cmd,
static char *ngx_http_rds_json_root(ngx_conf_t *cf, ngx_command_t *cmd,
void *conf);
static char * ngx_http_rds_json_success_property(ngx_conf_t *cf,
static char *ngx_http_rds_json_success_property(ngx_conf_t *cf,
ngx_command_t *cmd, void *conf);
static char * ngx_http_rds_json_user_property(ngx_conf_t *cf,
static char *ngx_http_rds_json_user_property(ngx_conf_t *cf,
ngx_command_t *cmd, void *conf);
static char * ngx_http_rds_json_errcode_key(ngx_conf_t *cf, ngx_command_t *cmd,
static char *ngx_http_rds_json_errcode_key(ngx_conf_t *cf, ngx_command_t *cmd,
void *conf);
static char * ngx_http_rds_json_errstr_key(ngx_conf_t *cf, ngx_command_t *cmd,
static char *ngx_http_rds_json_errstr_key(ngx_conf_t *cf, ngx_command_t *cmd,
void *conf);
static char * ngx_http_rds_json(ngx_conf_t *cf, ngx_command_t *cmd, void *conf);
static char *ngx_http_rds_json(ngx_conf_t *cf, ngx_command_t *cmd, void *conf);


static ngx_command_t ngx_http_rds_json_commands[] = {
Expand Down
4 changes: 2 additions & 2 deletions src/ngx_http_rds_json_output.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
#include <nginx.h>


static u_char * ngx_http_rds_json_request_mem(ngx_http_request_t *r,
static u_char *ngx_http_rds_json_request_mem(ngx_http_request_t *r,
ngx_http_rds_json_ctx_t *ctx, size_t len);
static ngx_int_t ngx_http_rds_json_get_buf(ngx_http_request_t *r,
ngx_http_rds_json_ctx_t *ctx);
static u_char * ngx_http_rds_json_get_postponed(ngx_http_request_t *r,
static u_char *ngx_http_rds_json_get_postponed(ngx_http_request_t *r,
ngx_http_rds_json_ctx_t *ctx, size_t len);
static ngx_int_t ngx_http_rds_json_submit_mem(ngx_http_request_t *r,
ngx_http_rds_json_ctx_t *ctx, size_t len, unsigned last_buf);
Expand Down

0 comments on commit 2d8b492

Please sign in to comment.