X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=common-src%2Ftoken.h;h=4d806997cd4787412eeec3a574b5f1c6ff131650;hb=fb2bd066c2f8b34addafe48d62550e3033a59431;hp=1856cbf8a6d632882d89a73bc93a9cc4d9047639;hpb=12179dea039515c06168c0037d048566a3f623de;p=debian%2Famanda diff --git a/common-src/token.h b/common-src/token.h index 1856cbf..4d80699 100644 --- a/common-src/token.h +++ b/common-src/token.h @@ -37,10 +37,10 @@ typedef struct {char *word; int value;} table_t; extern int split(char *str, char **token, int toklen, char *sep); extern char *squotef(char *format, ...) - __attribute__ ((format (printf, 1, 2))); + G_GNUC_PRINTF(1,2); extern char *squote(char *str); extern char *quotef(char *sep, char *format, ...) - __attribute__ ((format (printf, 2, 3))); + G_GNUC_PRINTF(2,3); extern char *quote(char *sep, char *str); extern char *rxquote(char *str); #ifndef HAVE_SHQUOTE