diff options
author | Cody P Schafer <devel@codyps.com> | 2014-02-15 12:20:00 -0800 |
---|---|---|
committer | Cody P Schafer <devel@codyps.com> | 2014-03-13 11:07:49 -0700 |
commit | 3f77401a554c4db6b67c12732b7acaea7b229bbb (patch) | |
tree | 12a9bfc68173b6da21d00b0b17927869e7ea1d8e /src | |
parent | ef4fe8e4c89bcf8df9b3f74d285d8bbd71a09eea (diff) | |
download | pianobar-3f77401a554c4db6b67c12732b7acaea7b229bbb.tar.gz pianobar-3f77401a554c4db6b67c12732b7acaea7b229bbb.tar.bz2 pianobar-3f77401a554c4db6b67c12732b7acaea7b229bbb.zip |
Add an attribute to start checking format strings
Diffstat (limited to 'src')
-rw-r--r-- | src/ui.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 *, |