summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ui.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui.h b/src/ui.h
index 4fba9ba..6b5d891 100644
--- a/src/ui.h
+++ b/src/ui.h
@@ -37,7 +37,7 @@ THE SOFTWARE.
typedef void (*BarUiSelectStationCallback_t) (BarApp_t *app, char *buf);
-void BarUiMsg (const BarSettings_t *, const BarUiMsg_t, const char *, ...);
+void BarUiMsg (const BarSettings_t *, const BarUiMsg_t, const char *, ...) __attribute__((format(printf, 3, 4)));
PianoStation_t *BarUiSelectStation (BarApp_t *, PianoStation_t *, const char *,
BarUiSelectStationCallback_t, bool);
PianoSong_t *BarUiSelectSong (const BarSettings_t *, PianoSong_t *,