aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mdoc.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-07-01 23:01:47 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-07-01 23:01:47 +0000
commit07951ccc1e374899d68a29ee1909b6128fdb13e2 (patch)
tree310d1de38b5209aa42941e13688c402b92b3e6ec /mdoc.c
parentf813f185be40796eacad83ea709b1ba0374a67c1 (diff)
downloadmandoc-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.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/mdoc.c b/mdoc.c
index ea1fa47f..038e0fbd 100644
--- a/mdoc.c
+++ b/mdoc.c
@@ -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;