* dialog.h: Include global.h.

(message): Specify __attribute__.
This commit is contained in:
Andrew V. Samoilov 2001-10-22 15:37:27 +00:00
parent 8f3159618d
commit dd2ef8b4fb
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2001-10-22 Andrew V. Samoilov <kai@cmail.ru>
* dialog.h: Include global.h.
(message): Specify __attribute__.
2001-10-20 Pavel Roskin <proski@gnu.org>
* main.h (print_vfs_message): Specify __attribute__.

View File

@ -1,6 +1,7 @@
#ifndef __DIALOG_H
#define __DIALOG_H
#include "global.h"
#include "dlg.h"
#ifndef VFS_STANDALONE
@ -8,7 +9,8 @@
#else
#define MSG_ERROR "Error: "
#endif
Dlg_head *message (int error, char *header, const char *text, ...);
Dlg_head *message (int error, char *header, const char *text, ...)
__attribute__ ((format (printf, 3, 4)));
int query_dialog (char *header, char *text, int flags, int count, ...);