summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCody P Schafer <devel@codyps.com>2014-02-15 12:20:00 -0800
committerCody P Schafer <devel@codyps.com>2014-03-13 11:07:49 -0700
commit3f77401a554c4db6b67c12732b7acaea7b229bbb (patch)
tree12a9bfc68173b6da21d00b0b17927869e7ea1d8e /src
parentef4fe8e4c89bcf8df9b3f74d285d8bbd71a09eea (diff)
downloadpianobar-windows-3f77401a554c4db6b67c12732b7acaea7b229bbb.tar.gz
pianobar-windows-3f77401a554c4db6b67c12732b7acaea7b229bbb.tar.bz2
pianobar-windows-3f77401a554c4db6b67c12732b7acaea7b229bbb.zip
Add an attribute to start checking format strings
Diffstat (limited to 'src')
-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 *,