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.c | |
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.c')
-rw-r--r-- | man.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: man.c,v 1.14 2009/04/02 06:51:44 kristaps Exp $ */ +/* $Id: man.c,v 1.15 2009/04/03 11:08:39 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@openbsd.org> * @@ -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); } |