diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2011-12-02 01:37:14 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2011-12-02 01:37:14 +0000 |
commit | b44b43f687b8f98c50f0f22a5feae1bc72693b07 (patch) | |
tree | 6e63dbeffceec35e93a32a4cf8def8c59ed331d4 /libmandoc.h | |
parent | d1b540afdd77328cb66da01be9399236630bf4f6 (diff) | |
download | mandoc-b44b43f687b8f98c50f0f22a5feae1bc72693b07.tar.gz |
In man(7), when no explicit volume name is given, use the default
volume name for the respective manual section, just like in mdoc(7).
This gives us nicer page headers for cvs(1), lynx(1), tic(1),
mkhybrid(8), and many curses(3) manuals.
ok kristaps@
To not break compatibility, i wrote a corresponding patch for GNU troff
which Werner Lemberg accepted upstream at rev. 1.65 of:
http://cvs.savannah.gnu.org/viewvc/groff/tmac/an-old.tmac?root=groff
Diffstat (limited to 'libmandoc.h')
-rw-r--r-- | libmandoc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libmandoc.h b/libmandoc.h index 7a123f0e..2a0c28df 100644 --- a/libmandoc.h +++ b/libmandoc.h @@ -49,6 +49,7 @@ char *mandoc_normdate(struct mparse *, char *, int, int); int mandoc_eos(const char *, size_t, int); int mandoc_getcontrol(const char *, int *); int mandoc_strntoi(const char *, size_t, int); +const char *mandoc_a2msec(const char*); void mdoc_free(struct mdoc *); struct mdoc *mdoc_alloc(struct roff *, struct mparse *); |