X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=src%2Flibpspp%2Fcompiler.h;h=a53b44d7161775cc34b5628edf6dcff7b5403745;hb=0a20082e28caaaf1122510d992e1c6dce755ad0e;hp=c99220ee748f443ee2f8ba1d15ef09d2a56352dd;hpb=480a0746507ce73d26f528b56dc3ed80195096e0;p=pspp diff --git a/src/libpspp/compiler.h b/src/libpspp/compiler.h index c99220ee74..a53b44d716 100644 --- a/src/libpspp/compiler.h +++ b/src/libpspp/compiler.h @@ -40,8 +40,8 @@ /* Mark a function as taking a printf- or scanf-like format string as its FMT'th argument and that the FIRST'th argument is the first one to be checked against the format string. */ -#define PRINTF_FORMAT(FMT, FIRST) ATTRIBUTE ((format (printf, FMT, FIRST))) -#define SCANF_FORMAT(FMT, FIRST) ATTRIBUTE ((format (scanf, FMT, FIRST))) +#define PRINTF_FORMAT(FMT, FIRST) ATTRIBUTE ((format (__printf__, FMT, FIRST))) +#define SCANF_FORMAT(FMT, FIRST) ATTRIBUTE ((format (__scanf__, FMT, FIRST))) /* Tells the compiler that a function may be treated as if any non-`NULL' pointer it returns cannot alias any other pointer