diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-07-01 23:01:47 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-07-01 23:01:47 +0000 |
commit | 07951ccc1e374899d68a29ee1909b6128fdb13e2 (patch) | |
tree | 310d1de38b5209aa42941e13688c402b92b3e6ec /mdoc.c | |
parent | f813f185be40796eacad83ea709b1ba0374a67c1 (diff) | |
download | mandoc-07951ccc1e374899d68a29ee1909b6128fdb13e2.tar.gz mandoc-07951ccc1e374899d68a29ee1909b6128fdb13e2.tar.zst mandoc-07951ccc1e374899d68a29ee1909b6128fdb13e2.zip |
Remove my own dumb FIXME and mark a static function defn as static.
Diffstat (limited to 'mdoc.c')
-rw-r--r-- | mdoc.c | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -1,4 +1,4 @@ -/* $Id: mdoc.c,v 1.154 2010/07/01 22:56:17 kristaps Exp $ */ +/* $Id: mdoc.c,v 1.155 2010/07/01 23:01:47 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@bsd.lv> * @@ -514,8 +514,7 @@ mdoc_word_alloc(struct mdoc *m, int line, int pos, const char *p) } -/* FIXME: put in mdoc_node_delete(). */ -void +static void mdoc_node_free(struct mdoc_node *p) { @@ -739,7 +738,7 @@ macrowarn(struct mdoc *m, int ln, const char *buf, int offs) * Parse a macro line, that is, a line beginning with the control * character. */ -int +static int mdoc_pmacro(struct mdoc *m, int ln, char *buf, int offs) { enum mdoct tok; |