message: Add prototype for vmsg() function.
authorBen Pfaff <blp@cs.stanford.edu>
Mon, 17 Feb 2014 23:23:09 +0000 (15:23 -0800)
committerBen Pfaff <blp@cs.stanford.edu>
Tue, 18 Feb 2014 02:00:37 +0000 (18:00 -0800)
Reported by Clang.

src/libpspp/message.h

index 32342f40e993501c56ba7e3245f5e45866b3acad..f2ec23c2c331c8b4007cbecf5cb545179a2191dd 100644 (file)
@@ -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 *);