diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2018-12-14 01:18:25 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2018-12-14 01:18:25 +0000 |
commit | f23ef2791d6fed38e2418e7816d449e955da3808 (patch) | |
tree | a0f0c7d4784735ec3a345d1726ce53d8315ba7d8 /libmandoc.h | |
parent | 89b87d6d86473296fb35daf3da277607a4811967 (diff) | |
download | mandoc-f23ef2791d6fed38e2418e7816d449e955da3808.tar.gz |
Major cleanup; may imply minor changes in edge cases of error reporting.
Finally, drop support for the run-time configurable mandocmsg()
callback. It was over-engineered from the start, never used for
anything in a decade, and repeatedly caused maintenance headaches.
Consolidate reporting infrastructure into two files, mandoc.h and
mandoc_msg.c, mopping up the bits and pieces that were scattered
around main.c, read.c, mandoc_parse.h, libmandoc.h, the prototypes
of four parsing-related functions, and both parser structs.
Diffstat (limited to 'libmandoc.h')
-rw-r--r-- | libmandoc.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/libmandoc.h b/libmandoc.h index 00e707b3..cd2a1ba2 100644 --- a/libmandoc.h +++ b/libmandoc.h @@ -49,11 +49,6 @@ struct mparse; struct roff; struct roff_man; -void mandoc_msg(enum mandocerr, struct mparse *, - int, int, const char *); -void mandoc_vmsg(enum mandocerr, struct mparse *, - int, int, const char *, ...) - __attribute__((__format__ (__printf__, 5, 6))); char *mandoc_getarg(struct mparse *, char **, int, int *); char *mandoc_normdate(struct roff_man *, char *, int, int); int mandoc_eos(const char *, size_t); |