From: Michael Brown Date: Wed, 29 Mar 2017 07:35:05 +0000 (+0300) Subject: [mucurses] Fix erroneous __nonnull attribute X-Git-Tag: v1.20.1~226 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=28e26dd2503e6006fabb26f8c33050ba93a99623;p=thirdparty%2Fipxe.git [mucurses] Fix erroneous __nonnull attribute Signed-off-by: Michael Brown --- diff --git a/src/include/curses.h b/src/include/curses.h index 04060fe27..1f6fe029b 100644 --- a/src/include/curses.h +++ b/src/include/curses.h @@ -443,7 +443,8 @@ extern int wborder ( WINDOW *, chtype, chtype, chtype, chtype, chtype, chtype, extern int wclrtobot ( WINDOW * ) __nonnull; extern int wclrtoeol ( WINDOW * ) __nonnull; extern void wcursyncup ( WINDOW * ); -extern int wcolour_set ( WINDOW *, short, void * ) __nonnull; +extern int wcolour_set ( WINDOW *, short, void * ) + __attribute__ (( nonnull (1))); #define wcolor_set(w,s,v) wcolour_set((w),(s),(v)) extern int wdelch ( WINDOW * ) __nonnull; extern int wdeleteln ( WINDOW * ) __nonnull;