diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-07-06 09:21:24 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-07-06 09:21:24 +0000 |
commit | 4baed99617de2e5dacb16862a0cecb8885b435f0 (patch) | |
tree | d9f9bab848b056d01e919c484bc3c34b6516f2b1 /mdoc.h | |
parent | 0624c9ad95223c7844a47eca56f838193ad71a0b (diff) | |
download | mandoc-4baed99617de2e5dacb16862a0cecb8885b435f0.tar.gz |
Initial removal of enum mdoc_warn from mdoc warnings (unnecessary complication).
Diffstat (limited to 'mdoc.h')
-rw-r--r-- | mdoc.h | 9 |
1 files changed, 1 insertions, 8 deletions
@@ -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, @@ -279,8 +273,7 @@ struct mdoc_node { /* FIXME: unify somehow with man_cb. */ struct mdoc_cb { int (*mdoc_err)(void *, int, int, const char *); - int (*mdoc_warn)(void *, int, int, - enum mdoc_warn, const char *); + int (*mdoc_warn)(void *, int, int, const char *); }; /* See mdoc.3 for documentation. */ |