From ae986902cfc1846881bb4341f33c0e14b495c309 Mon Sep 17 00:00:00 2001 From: okan Date: Wed, 22 Jan 2020 19:58:35 +0000 Subject: add, then use, xvasprintf, checking for appropriate return. --- calmwm.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'calmwm.h') diff --git a/calmwm.h b/calmwm.h index 864f4f4..008c16e 100644 --- a/calmwm.h +++ b/calmwm.h @@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: calmwm.h,v 1.371 2019/03/07 14:28:17 okan Exp $ + * $OpenBSD: calmwm.h,v 1.372 2020/01/22 19:58:35 okan Exp $ */ #ifndef _CALMWM_H_ @@ -598,5 +598,7 @@ char *xstrdup(const char *); int xasprintf(char **, const char *, ...) __attribute__((__format__ (printf, 2, 3))) __attribute__((__nonnull__ (2))); +int xvasprintf(char **, const char *, va_list) + __attribute__((__nonnull__ (2))); #endif /* _CALMWM_H_ */ -- cgit v1.2.3-2-gb3c3