X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=src%2Ftab.h;h=7062c79c3fbcd1da3745ec5e5f02cbc3e60b3b0f;hb=cd7b08ad5e6bbec75e778acf008f84e1eb548154;hp=37e045c961ce035a2b7355050806e759a68442d8;hpb=4944c86a9318bc5b5578ab145a95c116ffd2c9fd;p=pspp-builds.git diff --git a/src/tab.h b/src/tab.h index 37e045c9..7062c79c 100644 --- a/src/tab.h +++ b/src/tab.h @@ -169,10 +169,10 @@ void tab_float (struct tab_table *, int c, int r, unsigned char opt, double v, int w, int d); void tab_text (struct tab_table *, int c, int r, unsigned opt, const char *, ...) - __attribute__ ((format (printf, 5, 6))); + PRINTF_FORMAT (5, 6); void tab_joint_text (struct tab_table *, int x1, int y1, int x2, int y2, unsigned opt, const char *, ...) - __attribute__ ((format (printf, 7, 8))); + PRINTF_FORMAT (7, 8); /* Cell low-level access. */ #define tab_alloc(TABLE, AMT) pool_alloc ((TABLE)->container, (AMT)) @@ -189,7 +189,7 @@ void tab_next_row (struct tab_table *); /* Simple output. */ void tab_output_text (int options, const char *string, ...) - __attribute__ ((format (printf, 2, 3))); + PRINTF_FORMAT (2, 3); #endif /* tab_h */