]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
[mucurses] Fix erroneous __nonnull attribute
authorMichael Brown <mcb30@ipxe.org>
Wed, 29 Mar 2017 07:35:05 +0000 (10:35 +0300)
committerMichael Brown <mcb30@ipxe.org>
Wed, 29 Mar 2017 07:35:05 +0000 (10:35 +0300)
Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/include/curses.h

index 04060fe273155b968f4a0ba94339ffddad737970..1f6fe029b5b3c1dba3f9ba5fb2db20e5e251105e 100644 (file)
@@ -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;