From 14319442945f67652a9ad757edc3cf1b0c581df2 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Sat, 4 Jul 2009 18:54:06 +0000 Subject: Add GCC_PRINTF parameter. svn-id: r42104 --- backends/midi/timidity.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'backends/midi') 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); -- cgit v1.2.3