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 /mdoc_markdown.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 'mdoc_markdown.c')
-rw-r--r-- | mdoc_markdown.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/mdoc_markdown.c b/mdoc_markdown.c index 1bf48342..0774526b 100644 --- a/mdoc_markdown.c +++ b/mdoc_markdown.c @@ -1,4 +1,4 @@ -/* $Id$ */ +/* $Id$ */ /* * Copyright (c) 2017, 2018, 2020 Ingo Schwarze <schwarze@openbsd.org> * @@ -13,6 +13,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. + * + * Markdown formatter for mdoc(7) used by mandoc(1). */ #include <sys/types.h> @@ -29,16 +31,16 @@ #include "main.h" struct md_act { - int (*cond)(struct roff_node *n); - int (*pre)(struct roff_node *n); - void (*post)(struct roff_node *n); + int (*cond)(struct roff_node *); + int (*pre)(struct roff_node *); + void (*post)(struct roff_node *); const char *prefix; /* pre-node string constant */ const char *suffix; /* post-node string constant */ }; static void md_nodelist(struct roff_node *); static void md_node(struct roff_node *); -static const char *md_stack(char c); +static const char *md_stack(char); static void md_preword(void); static void md_rawword(const char *); static void md_word(const char *); |