Ver código fonte

[mucurses] Fix erroneous __nonnull attribute

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 8 anos atrás
pai
commit
28e26dd250
1 arquivos alterados com 2 adições e 1 exclusões
  1. 2
    1
      src/include/curses.h

+ 2
- 1
src/include/curses.h Ver arquivo

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;

Carregando…
Cancelar
Salvar