From ac46684d7fe4a7b97e5553a3e8507e5cc65049a4 Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Thu, 17 Oct 2024 21:39:41 -0400 Subject: janitorial: Use ATTRIBUTE_PRINTF(X,Y) instead of __attribute__((format(printf,X,Y))) Change-Id: Ia66e7647bdd9e8e1c28b9d8636cae8db82825841 --- apps/gui/list.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- cgit v1.2.3