diff options
| author | David Lamparter <equinox@diac24.net> | 2019-06-12 17:08:01 +0200 |
|---|---|---|
| committer | David Lamparter <equinox@diac24.net> | 2019-06-12 19:35:43 +0200 |
| commit | afb35622ef61212f0fe960a31c2326a9379bceae (patch) | |
| tree | a3e691f3bd7e9d59871462d1bab8bdef63d3dd24 /lib/termtable.h | |
| parent | c7179009cf1713db55d48e6ab1275ac00be555ac (diff) | |
lib: make "%Ld" work for int64_t
... without compiler plugins.
Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'lib/termtable.h')
| -rw-r--r-- | lib/termtable.h | 5 |
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. |
