diff --git a/apps/gui/list.h b/apps/gui/list.h index 88d9e0d9bd..1060a3edde 100644 --- a/apps/gui/list.h +++ b/apps/gui/list.h @@ -312,7 +312,7 @@ void simplelist_set_line_count(int lines); /* get the current amount of lines shown */ int simplelist_get_line_count(void); /* add a line in the list. */ -void simplelist_addline(const char *fmt, ...) __attribute__((format(printf,1,2))); +void simplelist_addline(const char *fmt, ...) ATTRIBUTE_PRINTF(1,2); /* setup the info struct. members not setup in this function need to be assigned manually members set in this function: