aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/man.h
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
commit65c1b92bb836a60e83ebd2bd3129acffcaa02420 (patch)
tree2d2b87559bb2e2eaae4562e09161a960b1885cb2 /man.h
parent0f15da4617d2cda375129998838b6bfd613901a4 (diff)
downloadmandoc-65c1b92bb836a60e83ebd2bd3129acffcaa02420.tar.gz
mandoc-65c1b92bb836a60e83ebd2bd3129acffcaa02420.tar.zst
mandoc-65c1b92bb836a60e83ebd2bd3129acffcaa02420.zip
Proper resetting of memory.
Array boundary fixed (-W).
Diffstat (limited to 'man.h')
-rw-r--r--man.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/man.h b/man.h
index 27571017..dc22d59c 100644
--- a/man.h
+++ b/man.h
@@ -1,4 +1,4 @@
-/* $Id: man.h,v 1.8 2009/04/02 06:51:44 kristaps Exp $ */
+/* $Id: man.h,v 1.9 2009/04/03 11:08:39 kristaps Exp $ */
/*
* Copyright (c) 2009 Kristaps Dzonsons <kristaps@openbsd.org>
*
@@ -90,7 +90,7 @@ struct man;
void man_free(struct man *);
struct man *man_alloc(void *, int, const struct man_cb *);
-void man_reset(struct man *);
+int man_reset(struct man *);
int man_parseln(struct man *, int, char *buf);
int man_endparse(struct man *);
int man_valid_post(struct man *);