summaryrefslogtreecommitdiffstats
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
commitd1662ea3b33fccef5c46617b2aac33de6c3f7367 (patch)
treeaebd890d169e169e6e5bd5c29fb0d461e9b07df9
parent68ee78dc7731e4adb30a4b384fa171f2116f8561 (diff)
downloadmandoc-d1662ea3b33fccef5c46617b2aac33de6c3f7367.tar.gz
Remove my own dumb FIXME and mark a static function defn as static.
-rw-r--r--mdoc.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/mdoc.c b/mdoc.c
index d02d495c..d2da9541 100644
--- a/mdoc.c
+++ b/mdoc.c
@@ -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;