diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-03-23 12:26:58 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-03-23 12:26:58 +0000 |
commit | 85c9ebb82f6cfd81fa04de4344ca2948d174c95c (patch) | |
tree | 41ef55146b8889119eb7ff8d05a6cbc38f264b82 /man.h | |
parent | a1867979c4c9ee59f1a222e80a1cd3a578c560ea (diff) | |
download | mandoc-85c9ebb82f6cfd81fa04de4344ca2948d174c95c.tar.gz |
If a man(7) NAME section contains macros, avoid truncated or empty
entries for .Nd in mandocdb(8), instead use the macro content
recursively. This improves indexing of more than 200 manuals
in Xenocara, i.e. more than 15%, in particular GL and some Xkb.
Diffstat (limited to 'man.h')
-rw-r--r-- | man.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1,6 +1,7 @@ /* $Id$ */ /* * Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> + * Copyright (c) 2014 Ingo Schwarze <schwarze@openbsd.org> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -111,6 +112,7 @@ struct man; const struct man_node *man_node(const struct man *); const struct man_meta *man_meta(const struct man *); const struct mparse *man_mparse(const struct man *); +void man_deroff(char **, const struct man_node *); __END_DECLS |