From 39946d1d741114c465cbf7e0976a63bda839bcd0 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Mon, 17 Feb 2014 15:23:09 -0800 Subject: [PATCH] message: Add prototype for vmsg() function. Reported by Clang. --- src/libpspp/message.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/libpspp/message.h b/src/libpspp/message.h index 32342f40e9..f2ec23c2c3 100644 --- a/src/libpspp/message.h +++ b/src/libpspp/message.h @@ -1,5 +1,5 @@ /* PSPP - a program for statistical analysis. - Copyright (C) 1997-9, 2000, 2006, 2010, 2011 Free Software Foundation, Inc. + Copyright (C) 1997-9, 2000, 2006, 2010, 2011, 2014 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -93,6 +93,8 @@ void msg_destroy(struct msg *); char *msg_to_string (const struct msg *, const char *command_name); /* Emitting messages. */ +void vmsg (enum msg_class class, const char *format, va_list args) + PRINTF_FORMAT (2, 0); void msg (enum msg_class, const char *format, ...) PRINTF_FORMAT (2, 3); void msg_emit (struct msg *); -- 2.30.2