summaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2020-01-20 10:37:15 +0000
committerIngo Schwarze <schwarze@openbsd.org>2020-01-20 10:37:15 +0000
commitbd6f66569773d0cec18ee728ff380ff738d81246 (patch)
tree755349d1e38fe1ff5e5560241ddee1249d859f40 /main.c
parentc52cbdd1ba579d2163f2000582c15c6002df18e9 (diff)
downloadmandoc-bd6f66569773d0cec18ee728ff380ff738d81246.tar.gz
Make the code more readable by introducing
symbolic constants for tagging priorities. This review also made me find a minor bug: do not upgrade TAG_FALLBACK to TAG_WEAK when there is trailing whitespace.
Diffstat (limited to 'main.c')
-rw-r--r--main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.c b/main.c
index d12eb407..f2ec1e97 100644
--- a/main.c
+++ b/main.c
@@ -32,6 +32,7 @@
#include <errno.h>
#include <fcntl.h>
#include <glob.h>
+#include <limits.h>
#if HAVE_SANDBOX_INIT
#include <sandbox.h>
#endif