From 26f3c379c1603ebdc35d1653b677b9e22685fd81 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Sun, 28 Jul 2024 10:47:59 -0400 Subject: prelude: Simplify attributes --- src/bar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/bar.c') diff --git a/src/bar.c b/src/bar.c index be77694..64706a8 100644 --- a/src/bar.c +++ b/src/bar.c @@ -122,7 +122,7 @@ static void bfs_bar_sigexit(int sig, siginfo_t *info, void *arg) { } /** printf() to the status bar with a single write(). */ -attr(printf(2, 3)) +_printf(2, 3) static int bfs_bar_printf(struct bfs_bar *bar, const char *format, ...) { va_list args; va_start(args, format); -- cgit v1.2.3