diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-04-03 11:08:39 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-04-03 11:08:39 +0000 |
commit | 65c1b92bb836a60e83ebd2bd3129acffcaa02420 (patch) | |
tree | 2d2b87559bb2e2eaae4562e09161a960b1885cb2 /man.h | |
parent | 0f15da4617d2cda375129998838b6bfd613901a4 (diff) | |
download | mandoc-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.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 *); |