mirror of https://github.com/MidnightCommander/mc
* dialog.h: Include global.h.
(message): Specify __attribute__.
This commit is contained in:
parent
8f3159618d
commit
dd2ef8b4fb
|
@ -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__.
|
||||
|
|
|
@ -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, ...);
|
||||
|
||||
|
|
Loading…
Reference in New Issue