diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2020-04-03 11:35:01 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2020-04-03 11:35:01 +0000 |
commit | 6b5bf18962a3cdfe3e6d3ee030e7a0df5c3b8cc9 (patch) | |
tree | c60cb88a5487eb98f8791ad71d3e5c77e56fd90d /cgi.c | |
parent | 608550debabeb1c4786e3dd2ad05d0f28e0556db (diff) | |
download | mandoc-6b5bf18962a3cdfe3e6d3ee030e7a0df5c3b8cc9.tar.gz |
Remove some stray argument names from function prototypes,
for consistency with the dominant style used in mandoc.
No functional change.
Patch from Martin Vahlensieck <academicsolutions dot ch>.
Diffstat (limited to 'cgi.c')
-rw-r--r-- | cgi.c | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -1,7 +1,7 @@ -/* $Id$ */ +/* $Id$ */ /* - * Copyright (c) 2011, 2012 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2014-2019 Ingo Schwarze <schwarze@usta.de> + * Copyright (c) 2011, 2012 Kristaps Dzonsons <kristaps@bsd.lv> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -14,6 +14,8 @@ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + * + * Implementation of the man.cgi(8) program. */ #include "config.h" @@ -70,9 +72,9 @@ enum focus { static void html_print(const char *); static void html_putchar(char); static int http_decode(char *); -static void http_encode(const char *p); +static void http_encode(const char *); static void parse_manpath_conf(struct req *); -static void parse_path_info(struct req *req, const char *path); +static void parse_path_info(struct req *, const char *); static void parse_query_string(struct req *, const char *); static void pg_error_badrequest(const char *); static void pg_error_internal(void); |