From: tb Date: Tue, 10 Oct 2023 09:30:06 +0000 (+0000) Subject: Drop GCC_PRINTFLIKE() at function definition X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=e99dc071d52b29c534cbbe629dd4cb8df5c0bdf3;p=openbsd 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 --- 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;