src/libpspp/message.h (msg_error): Add printf_format attribute
[pspp] / src / libpspp / message.h
index 720b9f23d78b8c4903e01aafccd50cbcb3d5e8d4..64a5b2973392004732a608ffd85928a65f5685c0 100644 (file)
@@ -100,7 +100,8 @@ void msg (enum msg_class, const char *format, ...)
      PRINTF_FORMAT (2, 3);
 void msg_emit (struct msg *);
 
-void msg_error (int errnum, const char *format, ...);
+void msg_error (int errnum, const char *format, ...)
+  PRINTF_FORMAT (2, 3);
 
 
 /* Enable and disable messages. */