X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=common-src%2Fpacket.h;h=cc117f66eae2e4e93c1f0612bbae04319d76ae8a;hb=94a044f90357edefa6f4ae9f0b1d5885b0e34aee;hp=cd40615698df3b84c1146ca084f0dbb0b6a09b2c;hpb=d3b2175e084f88c8736ad7073eacbf4670147aec;p=debian%2Famanda diff --git a/common-src/packet.h b/common-src/packet.h index cd40615..cc117f6 100644 --- a/common-src/packet.h +++ b/common-src/packet.h @@ -44,13 +44,13 @@ typedef struct { */ void pkt_init_empty(pkt_t *pkt, pktype_t type); void pkt_init(pkt_t *, pktype_t, const char *, ...) - __attribute__ ((format (printf, 3, 4))); + G_GNUC_PRINTF(3,4); /* * Append data to a packet */ void pkt_cat(pkt_t *, const char *, ...) - __attribute__ ((format (printf, 2, 3))); + G_GNUC_PRINTF(2,3); /* * Convert the packet type to and from a string