diff options
Diffstat (limited to 'usr.bin/mandoc/libman.h')
-rw-r--r-- | usr.bin/mandoc/libman.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/usr.bin/mandoc/libman.h b/usr.bin/mandoc/libman.h index 40a9bf7661b..9d641d8bb52 100644 --- a/usr.bin/mandoc/libman.h +++ b/usr.bin/mandoc/libman.h @@ -1,4 +1,4 @@ -/* $Id: libman.h,v 1.4 2009/07/07 00:54:46 schwarze Exp $ */ +/* $Id: libman.h,v 1.5 2009/07/12 20:30:27 schwarze Exp $ */ /* * Copyright (c) 2009 Kristaps Dzonsons <kristaps@kth.se> * @@ -39,7 +39,7 @@ struct man { }; enum merr { - WNPRINT, + WNPRINT = 0, WNMEM, WMSEC, WDATE, @@ -48,15 +48,16 @@ enum merr { WTQUOTE, WNODATA, WNOTITLE, - WESCAPE + WESCAPE, + WERRMAX }; __BEGIN_DECLS #define man_perr(m, l, p, t) \ - man_err((m), l, p, 1, (t)) + man_err((m), (l), (p), 1, (t)) #define man_pwarn(m, l, p, t) \ - man_err((m), l, p, 0, (t)) + man_err((m), (l), (p), 0, (t)) #define man_nerr(m, n, t) \ man_err((m), (n)->line, (n)->pos, 1, (t)) #define man_nwarn(m, n, t) \ |