diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2024-10-17 21:39:41 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2024-10-17 21:39:41 -0400 |
commit | ac46684d7fe4a7b97e5553a3e8507e5cc65049a4 (patch) | |
tree | edf160638e874b85ad7f94d03bff5dea3864ba25 | |
parent | 5c2de0b89cf76e47adb1ca56ad6d53f1368366d1 (diff) | |
download | rockbox-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.h | 2 |
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: |