* mandoc_dbg.c patch
@ 2024-12-06 21:26 Brooks Davis
0 siblings, 0 replies; only message in thread
From: Brooks Davis @ 2024-12-06 21:26 UTC (permalink / raw)
To: tech
When updating mandoc in FreeBSD I found I needed to add
#include "mandoc_dbg.h"
to mandoc_dbg.c to avoid lots of errors of the form:
mandoc_dbg.c:325:1: error: no previous prototype for function 'mandoc_dbg_finish' [-Werror,-Wmissing-prototypes]
325 | mandoc_dbg_finish(void)
| ^
-- Brooks
diff -ru ../mandoc-fbsd/mandoc_dbg.c contrib/mandoc/mandoc_dbg.c
--- ../mandoc-fbsd/mandoc_dbg.c 2024-12-06 20:35:47.531462000 +0000
+++ contrib/mandoc/mandoc_dbg.c 2024-12-06 21:25:22.507314000 +0000
@@ -37,6 +37,7 @@
#define DEBUG_NODEF 1
#include "mandoc_aux.h"
+#include "mandoc_dbg.h"
#include "mandoc.h"
/* Store information about one allocation. */
--
To unsubscribe send an email to tech+unsubscribe@mandoc.bsd.lv
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-12-06 21:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-12-06 21:26 mandoc_dbg.c patch Brooks Davis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).