summaryrefslogtreecommitdiffstats
path: root/man.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-04-03 11:08:39 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-04-03 11:08:39 +0000
commit911f176059aea8dbb5085d2191f4ae34fd849764 (patch)
tree87cea0a5fbd273073ab682ffd0da3c127044a6a0 /man.c
parent487ee230ace82c4c67ac49c3c7192780298017de (diff)
downloadmandoc-911f176059aea8dbb5085d2191f4ae34fd849764.tar.gz
Proper resetting of memory.
Array boundary fixed (-W).
Diffstat (limited to 'man.c')
-rw-r--r--man.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/man.c b/man.c
index 3dabf3cc..6a00d58f 100644
--- a/man.c
+++ b/man.c
@@ -62,12 +62,14 @@ man_meta(const struct man *m)
}
-void
+int
man_reset(struct man *man)
{
man_free1(man);
man_alloc1(man);
+ /* TODO */
+ return(1);
}