aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2008-01-26 12:46:44 +0000
committerEric Wong <normalperson@yhbt.net>2008-01-26 12:46:44 +0000
commit2dafd9cd5693e3048dcf3050d102177226a0fda7 (patch)
tree0e6d96b1533e0d1356631c522df0520b93705124 /src
parent262e515bee254e9ce3d34db033a0f1136db35e26 (diff)
downloadmpd-2dafd9cd5693e3048dcf3050d102177226a0fda7.tar.gz
mpd-2dafd9cd5693e3048dcf3050d102177226a0fda7.tar.xz
mpd-2dafd9cd5693e3048dcf3050d102177226a0fda7.zip
gcc.h: support mpd_fprintf__, with arguments shifted even further right
This will be used to check errors in command.c git-svn-id: https://svn.musicpd.org/mpd/trunk@7148 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src')
-rw-r--r--src/gcc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gcc.h b/src/gcc.h
index 4ae18c46b..bb594f3c7 100644
--- a/src/gcc.h
+++ b/src/gcc.h
@@ -36,6 +36,7 @@
# define mpd_printf __attribute__ ((format(printf,1,2)))
# define mpd_fprintf __attribute__ ((format(printf,2,3)))
# define mpd_fprintf_ __attribute__ ((format(printf,3,4)))
+# define mpd_fprintf__ __attribute__ ((format(printf,4,5)))
# define mpd_pure __attribute__ ((pure))
# define mpd_scanf __attribute__ ((format(scanf,1,2)))
# define mpd_unused __attribute__ ((unused))