Pārlūkot izejas kodu

[mucurses] Fix erroneous __nonnull attribute

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 9 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
 extern int wclrtobot ( WINDOW * ) __nonnull;
443
 extern int wclrtobot ( WINDOW * ) __nonnull;
444
 extern int wclrtoeol ( WINDOW * ) __nonnull;
444
 extern int wclrtoeol ( WINDOW * ) __nonnull;
445
 extern void wcursyncup ( WINDOW * );
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
 #define wcolor_set(w,s,v) wcolour_set((w),(s),(v))
448
 #define wcolor_set(w,s,v) wcolour_set((w),(s),(v))
448
 extern int wdelch ( WINDOW * ) __nonnull;
449
 extern int wdelch ( WINDOW * ) __nonnull;
449
 extern int wdeleteln ( WINDOW * ) __nonnull;
450
 extern int wdeleteln ( WINDOW * ) __nonnull;

Notiek ielāde…
Atcelt
Saglabāt