summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/frontend.h
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2001-03-18 22:09:25 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2001-03-18 22:09:25 +0000
commit9198ef4d82decfebda42f6eec98e51b100f3f834 (patch)
treeffc094244efd80563cbf32e461abbb695dab6130 /mdk-stage1/frontend.h
parent483f665e8a7772bf899f89bbc3cb457d49002890 (diff)
downloaddrakx-9198ef4d82decfebda42f6eec98e51b100f3f834.tar
drakx-9198ef4d82decfebda42f6eec98e51b100f3f834.tar.gz
drakx-9198ef4d82decfebda42f6eec98e51b100f3f834.tar.bz2
drakx-9198ef4d82decfebda42f6eec98e51b100f3f834.tar.xz
drakx-9198ef4d82decfebda42f6eec98e51b100f3f834.zip
use some help with __attribute__
Diffstat (limited to 'mdk-stage1/frontend.h')
-rw-r--r--mdk-stage1/frontend.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/mdk-stage1/frontend.h b/mdk-stage1/frontend.h
index 2869590e7..a5950f1da 100644
--- a/mdk-stage1/frontend.h
+++ b/mdk-stage1/frontend.h
@@ -24,9 +24,9 @@
void init_frontend(void);
void finish_frontend(void);
-void error_message(char *msg, ...); /* blocking */
-void info_message(char *msg, ...); /* blocking */
-void wait_message(char *msg, ...); /* non-blocking */
+void error_message(char *msg, ...) __attribute__ ((format (printf, 1, 2))); /* blocking */
+void info_message(char *msg, ...) __attribute__ ((format (printf, 1, 2))); /* blocking */
+void wait_message(char *msg, ...) __attribute__ ((format (printf, 1, 2))); /* non-blocking */
void remove_wait_message(void);
void init_progression(char *msg, int size);