From e99dc071d52b29c534cbbe629dd4cb8df5c0bdf3 Mon Sep 17 00:00:00 2001 From: tb Date: Tue, 10 Oct 2023 09:30:06 +0000 Subject: [PATCH] Drop GCC_PRINTFLIKE() at function definition This makes gcc throw a fit and having the attributes for the prototypes in engine.h is enough. ok claudio sthen --- usr.bin/systat/engine.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/usr.bin/systat/engine.c b/usr.bin/systat/engine.c index 84d3146534d..1abebbdbb03 100644 --- a/usr.bin/systat/engine.c +++ b/usr.bin/systat/engine.c @@ -1,4 +1,4 @@ -/* $OpenBSD: engine.c,v 1.29 2021/07/02 15:34:16 millert Exp $ */ +/* $OpenBSD: engine.c,v 1.30 2023/10/10 09:30:06 tb Exp $ */ /* * Copyright (c) 2001, 2007 Can Erkin Acar * @@ -122,7 +122,6 @@ tb_end(void) int tbprintf(char *format, ...) - GCC_PRINTFLIKE(1,2) /* defined in curses.h */ { int len; va_list arg; @@ -146,7 +145,6 @@ tbprintf(char *format, ...) int tbprintft(char *format, ...) - GCC_PRINTFLIKE(1,2) /* defined in curses.h */ { int len; va_list arg; -- 2.20.1