X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=common-src%2Farglist.h;h=a3d572d6934c86533585ffdb0bb2375e7b1d683c;hb=94a044f90357edefa6f4ae9f0b1d5885b0e34aee;hp=e18b4a79e5fb485096d33f0b6db03f5d98e53fee;hpb=d3b2175e084f88c8736ad7073eacbf4670147aec;p=debian%2Famanda diff --git a/common-src/arglist.h b/common-src/arglist.h index e18b4a7..a3d572d 100644 --- a/common-src/arglist.h +++ b/common-src/arglist.h @@ -38,13 +38,13 @@ #define printf_arglist_function(fdecl, \ hook_type, hook_name) \ - __attribute__ ((format (printf, 1, 0))) \ + G_GNUC_PRINTF(1,0) \ fdecl(hook_type hook_name, ...) #define printf_arglist_function1(fdecl, \ arg1_type, arg1_name, \ hook_type, hook_name) \ - __attribute__ ((format (printf, 2, 0))) \ + G_GNUC_PRINTF(2,0) \ fdecl(arg1_type arg1_name, \ hook_type hook_name, ...) @@ -52,7 +52,7 @@ arg1_type, arg1_name, \ arg2_type, arg2_name, \ hook_type, hook_name) \ - __attribute__ ((format (printf, 3, 0))) \ + G_GNUC_PRINTF(3,0) \ fdecl(arg1_type arg1_name, \ arg2_type arg2_name, \ hook_type hook_name, ...) @@ -62,8 +62,8 @@ arg2_type, arg2_name, \ arg3_type, arg3_name, \ hook_type, hook_name) \ - __attribute__ ((format (printf, 4, 0))) \ - fdecl(arg1_type arg1_name, \ + G_GNUC_PRINTF(4,0) \ + fdecl(arg1_type arg1_name, \ arg2_type arg2_name, \ arg3_type arg3_name, \ hook_type hook_name, ...)