diff --git a/src/ChangeLog b/src/ChangeLog index 5dc19fd33..5d60f54e1 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2001-10-22 Andrew V. Samoilov + + * dialog.h: Include global.h. + (message): Specify __attribute__. + 2001-10-20 Pavel Roskin * main.h (print_vfs_message): Specify __attribute__. diff --git a/src/dialog.h b/src/dialog.h index 6745cd046..3900f7636 100644 --- a/src/dialog.h +++ b/src/dialog.h @@ -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, ...);