From f23ef2791d6fed38e2418e7816d449e955da3808 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Fri, 14 Dec 2018 01:18:25 +0000 Subject: 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. --- st.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'st.c') diff --git a/st.c b/st.c index 5900a700..6940e17e 100644 --- a/st.c +++ b/st.c @@ -17,6 +17,8 @@ #include "config.h" #include + +#include #include #include "mandoc.h" -- cgit