1
0
Fork 0
forked from len0rd/rockbox

janitorial: Use ATTRIBUTE_PRINTF(X,Y) instead of __attribute__((format(printf,X,Y)))

Change-Id: Ia66e7647bdd9e8e1c28b9d8636cae8db82825841
This commit is contained in:
Solomon Peachy 2024-10-17 21:39:41 -04:00
parent 5c2de0b89c
commit ac46684d7f

View file

@ -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: