Pārlūkot izejas kodu

[mucurses] Fix erroneous __nonnull attribute

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 7 gadus atpakaļ
vecāks
revīzija
28e26dd250
1 mainītis faili ar 2 papildinājumiem un 1 dzēšanām
  1. 2
    1
      src/include/curses.h

+ 2
- 1
src/include/curses.h Parādīt failu

@@ -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;

Notiek ielāde…
Atcelt
Saglabāt