summaryrefslogtreecommitdiff
path: root/lib/termtable.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/termtable.h')
-rw-r--r--lib/termtable.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/termtable.h b/lib/termtable.h
index 491010a856..4f7c595ce2 100644
--- a/lib/termtable.h
+++ b/lib/termtable.h
@@ -137,8 +137,7 @@ void ttable_cell_del(struct ttable_cell *cell);
* columns were specified
*/
struct ttable_cell *ttable_insert_row(struct ttable *tt, unsigned int row,
- const char *format, ...)
- PRINTF_ATTRIBUTE(3, 4);
+ const char *format, ...) PRINTFRR(3, 4);
/**
* Inserts a new row at the end of the table.
*
@@ -164,7 +163,7 @@ struct ttable_cell *ttable_insert_row(struct ttable *tt, unsigned int row,
* columns were specified
*/
struct ttable_cell *ttable_add_row(struct ttable *tt, const char *format, ...)
- PRINTF_ATTRIBUTE(2, 3);
+ PRINTFRR(2, 3);
/**
* Removes a row from the table.