aboutsummaryrefslogtreecommitdiffstatshomepage
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
commit5f27623657f4ddca94ff04ce11a91213fa4583a9 (patch)
treeb6f1de0d7e5bbf51d9c930caf269aae323f38c7e /mandoc.h
parentb35e18840fdc536364e4d41b021fe53af309bb59 (diff)
downloadmandoc-5f27623657f4ddca94ff04ce11a91213fa4583a9.tar.gz
mandoc-5f27623657f4ddca94ff04ce11a91213fa4583a9.tar.zst
mandoc-5f27623657f4ddca94ff04ce11a91213fa4583a9.zip
Merge schwarze@'s patch to allow uname() to fail without causing an exit.
Diffstat (limited to 'mandoc.h')
-rw-r--r--mandoc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/mandoc.h b/mandoc.h
index b2a84ac1..81ea5c5d 100644
--- a/mandoc.h
+++ b/mandoc.h
@@ -1,4 +1,4 @@
-/* $Id: mandoc.h,v 1.27 2010/12/05 15:37:30 kristaps Exp $ */
+/* $Id: mandoc.h,v 1.28 2010/12/05 15:49:37 kristaps Exp $ */
/*
* Copyright (c) 2010 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -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
};