summaryrefslogtreecommitdiff
path: root/usr.bin/mandoc/mdoc.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2009-07-12 22:35:09 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2009-07-12 22:35:09 +0000
commit31ef1ce0e9d80ed34071bc98f128ab5d287cf750 (patch)
treedff215c1b34d5bee6654b83ee87d0d13d9d28029 /usr.bin/mandoc/mdoc.h
parent3eb240ff678fd37282294ad073495b91b076deeb (diff)
sync to 1.7.23: pass warning code to mdoc_pwarn() instead of warning message
define additional warning macro mdoc_nwarn() remove obsolete warning functions mdoc_warn(), pwarn(), vwarn(), nwarn() remove various now unused "enum mdoc_warn" and "enum mwarn"
Diffstat (limited to 'usr.bin/mandoc/mdoc.h')
-rw-r--r--usr.bin/mandoc/mdoc.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/usr.bin/mandoc/mdoc.h b/usr.bin/mandoc/mdoc.h
index e81c2970df2..89f1925db54 100644
--- a/usr.bin/mandoc/mdoc.h
+++ b/usr.bin/mandoc/mdoc.h
@@ -1,4 +1,4 @@
-/* $Id: mdoc.h,v 1.8 2009/07/12 18:28:29 schwarze Exp $ */
+/* $Id: mdoc.h,v 1.9 2009/07/12 22:35:08 schwarze Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -179,12 +179,6 @@
#define MDOC_Nested 25
#define MDOC_ARG_MAX 26
-/* Warnings are either syntax or groff-compatibility. */
-enum mdoc_warn {
- WARN_SYNTAX,
- WARN_COMPAT
-};
-
/* Type of a syntax node. */
enum mdoc_type {
MDOC_TEXT,