aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/roff.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-05-15 20:51:40 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-05-15 20:51:40 +0000
commit41c0c172fa779a830e564f1257bee34c155ba2d0 (patch)
treee028513b19af5d85a34dac3d72c7b14bde6840a3 /roff.c
parente29a5b5a80c81fa6045785639e678bb968bd3e34 (diff)
downloadmandoc-41c0c172fa779a830e564f1257bee34c155ba2d0.tar.gz
mandoc-41c0c172fa779a830e564f1257bee34c155ba2d0.tar.zst
mandoc-41c0c172fa779a830e564f1257bee34c155ba2d0.zip
Pull `ig' out of -man and leave it the roff preparser.
Diffstat (limited to 'roff.c')
-rw-r--r--roff.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/roff.c b/roff.c
index c8661b6b..d4aa2dc4 100644
--- a/roff.c
+++ b/roff.c
@@ -1,4 +1,4 @@
-/* $Id: roff.c,v 1.69 2010/05/15 18:48:32 kristaps Exp $ */
+/* $Id: roff.c,v 1.70 2010/05/15 20:51:40 kristaps Exp $ */
/*
* Copyright (c) 2010 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -76,7 +76,6 @@ const struct roffmac roffs[ROFF_MAX] = {
{ ".", NULL, roff_new_close },
};
-static void roff_alloc1(struct roff *);
static void roff_free1(struct roff *);
static enum rofft roff_hash_find(const char *);
static int roffnode_push(struct roff *,
@@ -153,20 +152,11 @@ roff_free1(struct roff *r)
}
-static void
-roff_alloc1(struct roff *r)
-{
-
- /* Do nothing for now. */
-}
-
-
void
roff_reset(struct roff *r)
{
roff_free1(r);
- roff_alloc1(r);
}