summaryrefslogtreecommitdiffstats
path: root/mandoc.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-11-28 18:09:01 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-11-28 18:09:01 +0000
commite648fcd63ca4a6932755144a7cfaad0a3f55cffa (patch)
treec86fb8551e74850f832dfa752bb4dd665a1ea9aa /mandoc.h
parent51f9cec4efd7d8933b59dad631602cf4d70bdc0d (diff)
downloadmandoc-e648fcd63ca4a6932755144a7cfaad0a3f55cffa.tar.gz
Drop useless architecture table. Validating architecture names
is a job for makewhatis(8)/mandoc.db(5), not for the parser. Removes 150 lines from source files and 4k (1%) from the binary. Bloat found by deraadt@.
Diffstat (limited to 'mandoc.h')
-rw-r--r--mandoc.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/mandoc.h b/mandoc.h
index 1065eaa9..a035d9ac 100644
--- a/mandoc.h
+++ b/mandoc.h
@@ -54,7 +54,6 @@ enum mandocerr {
MANDOCERR_TITLE_CASE, /* lower case character in document title */
MANDOCERR_MSEC_MISSING, /* missing manual section, using "": macro */
MANDOCERR_MSEC_BAD, /* unknown manual section: Dt ... section */
- MANDOCERR_ARCH_BAD, /* unknown manual volume or arch: Dt ... volume */
MANDOCERR_DATE_MISSING, /* missing date, using today's date */
MANDOCERR_DATE_BAD, /* cannot parse date, using it verbatim: date */
MANDOCERR_OS_MISSING, /* missing Os macro, using "" */