summaryrefslogtreecommitdiffstats
path: root/mandoc.h
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-12-05 15:49:37 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-12-05 15:49:37 +0000
commit17d87274a35b068e7bf8fa10374f640943cf7bb4 (patch)
treee553f792443dba06fc6803e36479ba67f834c478 /mandoc.h
parent0b4127a628b0da28fe24f16107d14c5255d71a4a (diff)
downloadmandoc-17d87274a35b068e7bf8fa10374f640943cf7bb4.tar.gz
Merge schwarze@'s patch to allow uname() to fail without causing an exit.
Diffstat (limited to 'mandoc.h')
-rw-r--r--mandoc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/mandoc.h b/mandoc.h
index 6d7f0136..de4eedb1 100644
--- a/mandoc.h
+++ b/mandoc.h
@@ -93,6 +93,7 @@ enum mandocerr {
MANDOCERR_NOSCOPE, /* no such block is open */
MANDOCERR_SCOPEREP, /* scope already open */
MANDOCERR_SCOPEEXIT, /* scope open on exit */
+ MANDOCERR_UNAME, /* uname(3) system call failed */
/* FIXME: merge following with MANDOCERR_ARGCOUNT */
MANDOCERR_NOARGS, /* macro requires line argument(s) */
MANDOCERR_NOBODY, /* macro requires body argument(s) */
@@ -117,7 +118,6 @@ enum mandocerr {
MANDOCERR_SOPATH, /* NOT IMPLEMENTED: .so with absolute path or ".." */
MANDOCERR_NODOCBODY, /* no document body */
MANDOCERR_NODOCPROLOG, /* no document prologue */
- MANDOCERR_UTSNAME, /* utsname system call failed */
MANDOCERR_MEM, /* static buffer exhausted */
MANDOCERR_MAX
};