aboutsummaryrefslogtreecommitdiff
path: root/backends/midi
diff options
context:
space:
mode:
authorJohannes Schickel2009-07-04 18:54:06 +0000
committerJohannes Schickel2009-07-04 18:54:06 +0000
commit14319442945f67652a9ad757edc3cf1b0c581df2 (patch)
tree1670d7863142873b5a8820ec93b795fe7c79778c /backends/midi
parent177891a0c1b0a6b03e03b2a81520a1f51ff3ee00 (diff)
downloadscummvm-rg350-14319442945f67652a9ad757edc3cf1b0c581df2.tar.gz
scummvm-rg350-14319442945f67652a9ad757edc3cf1b0c581df2.tar.bz2
scummvm-rg350-14319442945f67652a9ad757edc3cf1b0c581df2.zip
Add GCC_PRINTF parameter.
svn-id: r42104
Diffstat (limited to 'backends/midi')
-rw-r--r--backends/midi/timidity.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/midi/timidity.cpp b/backends/midi/timidity.cpp
index c813441724..d533dab770 100644
--- a/backends/midi/timidity.cpp
+++ b/backends/midi/timidity.cpp
@@ -99,7 +99,7 @@ private:
int connect_to_server(const char* hostname, unsigned short tcp_port);
/* send command to the server; printf-like; returns reply string */
- char *timidity_ctl_command(const char *fmt, ...);
+ char *timidity_ctl_command(const char *fmt, ...) GCC_PRINTF(2, 3);
/* timidity data socket-related stuff */
void timidity_meta_seq(int p1, int p2, int p3);