Browse Source

[mucurses] Fix erroneous __nonnull attribute

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 7 years ago
parent
commit
28e26dd250
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      src/include/curses.h

+ 2
- 1
src/include/curses.h View File

@@ -443,7 +443,8 @@ extern int wborder ( WINDOW *, chtype, chtype, chtype, chtype, chtype, chtype,
443 443
 extern int wclrtobot ( WINDOW * ) __nonnull;
444 444
 extern int wclrtoeol ( WINDOW * ) __nonnull;
445 445
 extern void wcursyncup ( WINDOW * );
446
-extern int wcolour_set ( WINDOW *, short, void * ) __nonnull;
446
+extern int wcolour_set ( WINDOW *, short, void * )
447
+	__attribute__ (( nonnull (1)));
447 448
 #define wcolor_set(w,s,v) wcolour_set((w),(s),(v))
448 449
 extern int wdelch ( WINDOW * ) __nonnull;
449 450
 extern int wdeleteln ( WINDOW * ) __nonnull;

Loading…
Cancel
Save