summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2024-10-17 21:39:41 -0400
committerSolomon Peachy <pizza@shaftnet.org>2024-10-17 21:39:41 -0400
commitac46684d7fe4a7b97e5553a3e8507e5cc65049a4 (patch)
treeedf160638e874b85ad7f94d03bff5dea3864ba25
parent5c2de0b89cf76e47adb1ca56ad6d53f1368366d1 (diff)
downloadrockbox-ac46684d7f.tar.gz
rockbox-ac46684d7f.zip
janitorial: Use ATTRIBUTE_PRINTF(X,Y) instead of __attribute__((format(printf,X,Y)))
Change-Id: Ia66e7647bdd9e8e1c28b9d8636cae8db82825841
-rw-r--r--apps/gui/list.h2
1 files changed, 1 insertions, 1 deletions
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: