diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-11-28 06:27:05 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-11-28 06:27:05 +0000 |
commit | b7ed451bab9b712963df52a4f4ea0783fa4941d7 (patch) | |
tree | 5fb21a5e9b0f03fbe26d8bec4debbf45ca34578a /man.c | |
parent | cfd12f597e8f3e9e5acc3bfbeeef43065481d942 (diff) | |
download | mandoc-b7ed451bab9b712963df52a4f4ea0783fa4941d7.tar.gz |
Simplify by making the eqn and tbl steering functions void;
no functional change, minus 15 lines of code.
Diffstat (limited to 'man.c')
-rw-r--r-- | man.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -317,7 +317,7 @@ man_node_delete(struct man *man, struct man_node *p) man_node_free(p); } -int +void man_addeqn(struct man *man, const struct eqn *ep) { struct man_node *n; @@ -329,10 +329,9 @@ man_addeqn(struct man *man, const struct eqn *ep) man_node_append(man, n); man->next = MAN_NEXT_SIBLING; man_descope(man, ep->ln, ep->pos); - return(1); } -int +void man_addspan(struct man *man, const struct tbl_span *sp) { struct man_node *n; @@ -342,7 +341,6 @@ man_addspan(struct man *man, const struct tbl_span *sp) man_node_append(man, n); man->next = MAN_NEXT_SIBLING; man_descope(man, sp->line, 0); - return(1); } static void |