]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
Add missing __printf_2_3 to all para_log functions.
authorAndre Noll <maan@systemlinux.org>
Sat, 6 Dec 2008 13:50:10 +0000 (14:50 +0100)
committerAndre Noll <maan@systemlinux.org>
Sat, 6 Dec 2008 13:50:10 +0000 (14:50 +0100)
audiod.c
fade.c
gui.c
server.c

index 80d14c485c63106a476ec7d52d4f511163576747..bd0d049a457a4cbc35406eb1d59801e59879ca0a 100644 (file)
--- a/audiod.c
+++ b/audiod.c
@@ -187,7 +187,7 @@ out:
  * \param ll loglevel
  * \param fmt the format string
  */
  * \param ll loglevel
  * \param fmt the format string
  */
-void para_log(int ll, const char* fmt,...)
+__printf_2_3 void para_log(int ll, const char* fmt,...)
 {
        va_list argp;
        FILE *outfd;
 {
        va_list argp;
        FILE *outfd;
diff --git a/fade.c b/fade.c
index 48faed83124baeea273337ae950b0e88aeb8fc03..33f1ccbeda51ae52cc1dd6a627b545aee84b0923 100644 (file)
--- a/fade.c
+++ b/fade.c
@@ -28,7 +28,7 @@
 INIT_FADE_ERRLISTS;
 struct fade_args_info conf;
 
 INIT_FADE_ERRLISTS;
 struct fade_args_info conf;
 
-void para_log(__a_unused int ll, const char *fmt,...)
+__printf_2_3 void para_log(__a_unused int ll, const char *fmt, ...)
 {
        va_list argp;
        time_t t1;
 {
        va_list argp;
        time_t t1;
diff --git a/gui.c b/gui.c
index 588507154bfb0e620b256c08c2ce6914b1b7c0e6..616890299047629dcaad4541a239efae19f2b76c 100644 (file)
--- a/gui.c
+++ b/gui.c
@@ -489,7 +489,7 @@ static int add_output_line(char *line, __a_unused void *data)
        return 1;
 }
 
        return 1;
 }
 
-void para_log(int ll, const char *fmt,...)
+__printf_2_3 void para_log(int ll, const char *fmt,...)
 {
        int color;
        char *msg;
 {
        int color;
        char *msg;
index 459f44621bb5c1f8350f2c5192edaa15362b5335..0924ace4b07eac452a193df49c4b48bf6c8562aa 100644 (file)
--- a/server.c
+++ b/server.c
@@ -136,7 +136,7 @@ struct server_command_task {
  * \param ll The log level.
  * \param fmt The format string describing the log message.
  */
  * \param ll The log level.
  * \param fmt The format string describing the log message.
  */
-void para_log(int ll, const char* fmt,...)
+__printf_2_3 void para_log(int ll, const char* fmt,...)
 {
        va_list argp;
        FILE *outfd;
 {
        va_list argp;
        FILE *outfd;