diff options
author | Michael Brown | 2017-03-29 09:35:05 +0200 |
---|---|---|
committer | Michael Brown | 2017-03-29 09:35:05 +0200 |
commit | 28e26dd2503e6006fabb26f8c33050ba93a99623 (patch) | |
tree | 9fda5871900f4b5ae77fef799b68b3aa627150b3 /src/include/curses.h | |
parent | [http] Notify data transfer interface when underlying connection is ready (diff) | |
download | ipxe-28e26dd2503e6006fabb26f8c33050ba93a99623.tar.gz ipxe-28e26dd2503e6006fabb26f8c33050ba93a99623.tar.xz ipxe-28e26dd2503e6006fabb26f8c33050ba93a99623.zip |
[mucurses] Fix erroneous __nonnull attribute
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/curses.h')
-rw-r--r-- | src/include/curses.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/curses.h b/src/include/curses.h index 04060fe2..1f6fe029 100644 --- a/src/include/curses.h +++ b/src/include/curses.h @@ -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; |