diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2009-07-12 18:35:58 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2009-07-12 18:35:58 +0000 |
commit | 3b609b2042d45ba683a407506561ad0b511e6f93 (patch) | |
tree | 8d8b4618740353bb1ccf841b4dd4bb8b193d198e /usr.bin/mandoc/libmdoc.h | |
parent | ae0dec660f7fb4cba537af9de518acbccd8cff23 (diff) |
sync to 1.7.23: second step to get rid of enum mdoc_warn:
remove type from mdoc_vwarn arguments, and use this function where apropriate
Diffstat (limited to 'usr.bin/mandoc/libmdoc.h')
-rw-r--r-- | usr.bin/mandoc/libmdoc.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.bin/mandoc/libmdoc.h b/usr.bin/mandoc/libmdoc.h index 02abdc6cd48..e452f28474c 100644 --- a/usr.bin/mandoc/libmdoc.h +++ b/usr.bin/mandoc/libmdoc.h @@ -1,4 +1,4 @@ -/* $Id: libmdoc.h,v 1.7 2009/06/19 07:20:19 schwarze Exp $ */ +/* $Id: libmdoc.h,v 1.8 2009/07/12 18:35:57 schwarze Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se> * @@ -64,8 +64,6 @@ __BEGIN_DECLS * When GCC2 is deprecated, most of these can be reverted to #define * as mdoc_vXXX using __VA_ARGS__. Until then, use real functions. */ -int mdoc_vwarn(struct mdoc *, int, int, - enum mdoc_warn, const char *, ...); int mdoc_verr(struct mdoc *, int, int, const char *, ...); int mdoc_nerr(struct mdoc *, const struct mdoc_node *, @@ -75,6 +73,9 @@ int mdoc_err(struct mdoc *, const char *, ...); int mdoc_pwarn(struct mdoc *, int, int, enum mdoc_warn,const char *, ...); int mdoc_perr(struct mdoc *, int, int, const char *, ...); + +int mdoc_vwarn(struct mdoc *, int, int, const char *, ...); + int mdoc_macro(MACRO_PROT_ARGS); int mdoc_word_alloc(struct mdoc *, int, int, const char *); |