From 0880ade932d57aac1fa88eaaf4668570bff7cf1d Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Sun, 17 Apr 2011 09:08:19 +0000 Subject: Get mdoc_argv.c ready to use [some of] mandoc_getarg() by giving said function a parameter to suppress warnings. --- libmandoc.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'libmandoc.h') diff --git a/libmandoc.h b/libmandoc.h index 835e9bf2..efbb4d83 100644 --- a/libmandoc.h +++ b/libmandoc.h @@ -1,4 +1,4 @@ -/* $Id: libmandoc.h,v 1.18 2011/04/09 15:29:40 kristaps Exp $ */ +/* $Id: libmandoc.h,v 1.19 2011/04/17 09:08:19 kristaps Exp $ */ /* * Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons * @@ -74,7 +74,8 @@ void mandoc_msg(enum mandocerr, struct mparse *, void mandoc_vmsg(enum mandocerr, struct mparse *, int, int, const char *, ...); char *mandoc_strdup(const char *); -char *mandoc_getarg(struct mparse *, char **, int, int *); +char *mandoc_getarg(struct mparse *, + char **, int, int, int *); char *mandoc_normdate(struct mparse *, char *, int, int); int mandoc_eos(const char *, size_t, int); int mandoc_hyph(const char *, const char *); -- cgit v1.2.3