diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2009-07-13 00:33:41 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2009-07-13 00:33:41 +0000 |
commit | 740b8663591699e206e2d4f97dbe285259deed3e (patch) | |
tree | 7fbc05dabcaffbb150e6303ee3d8346f397841a7 /usr.bin/mandoc/libmdoc.h | |
parent | d69047d90aaf9e86abc0fbe9d7f0b23b0c35a713 (diff) |
sync to 1.7.24: mdoc_nwarn/mdoc_nerr got mixed up;
fix from joerg at netbsd via kristaps@
Diffstat (limited to 'usr.bin/mandoc/libmdoc.h')
-rw-r--r-- | usr.bin/mandoc/libmdoc.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/mandoc/libmdoc.h b/usr.bin/mandoc/libmdoc.h index 5ca3f05074f..f81c2aa9aa0 100644 --- a/usr.bin/mandoc/libmdoc.h +++ b/usr.bin/mandoc/libmdoc.h @@ -1,4 +1,4 @@ -/* $Id: libmdoc.h,v 1.13 2009/07/12 22:35:08 schwarze Exp $ */ +/* $Id: libmdoc.h,v 1.14 2009/07/13 00:33:40 schwarze Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se> * @@ -123,9 +123,9 @@ __BEGIN_DECLS #define mdoc_pwarn(m, l, p, t) \ mdoc_err((m), (l), (p), 0, (t)) #define mdoc_nerr(m, n, t) \ - mdoc_err((m), (n)->line, (n)->pos, 0, (t)) -#define mdoc_nwarn(m, n, t) \ mdoc_err((m), (n)->line, (n)->pos, 1, (t)) +#define mdoc_nwarn(m, n, t) \ + mdoc_err((m), (n)->line, (n)->pos, 0, (t)) int mdoc_err(struct mdoc *, int, int, int, enum merr); int mdoc_verr(struct mdoc *, int, int, const char *, ...); |