Commit 207c7c1e authored by Andreas Gustafsson's avatar Andreas Gustafsson

added ISC_FORMAT_PRINTF checks

parent ea2a4bbc
......@@ -15,12 +15,13 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: parser.c,v 1.57 2001/06/29 18:36:10 gson Exp $ */
/* $Id: parser.c,v 1.58 2001/07/02 17:05:46 gson Exp $ */
#include <config.h>
#include <isc/buffer.h>
#include <isc/dir.h>
#include <isc/formatcheck.h>
#include <isc/lex.h>
#include <isc/log.h>
#include <isc/mem.h>
......@@ -374,10 +375,12 @@ cfg_getstringtoken(cfg_parser_t *pctx);
static void
parser_error(cfg_parser_t *pctx, unsigned int flags,
const char *fmt, ...);
const char *fmt, ...) ISC_FORMAT_PRINTF(3, 4);
static void
parser_warning(cfg_parser_t *pctx, unsigned int flags,
const char *fmt, ...);
const char *fmt, ...) ISC_FORMAT_PRINTF(3, 4);
static void
parser_complain(cfg_parser_t *pctx, isc_boolean_t is_warning,
unsigned int flags, const char *format, va_list args);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment