mirror of
https://github.com/VARCem/PDCurses.git
synced 2026-09-23 23:35:20 +00:00
libpayload: Fix missing prototype warning for Xinitscr()
Xinitscr is only used internally in PDCurses, unless XCURSES is defined. This patch fixes a warning that is produced because of that. Change-Id: I211f75717276cf028e0b435f328d1687d3536eb7 Signed-off-by: Stefan Reinauer <reinauer@google.com> Reviewed-on: http://review.coreboot.org/2907 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Signed-off-by: Patrick Georgi <pgeorgi@google.com>
This commit is contained in:
committed by
Patrick Georgi
parent
7c012c3031
commit
3091c8d99b
@@ -111,6 +111,9 @@ MOUSE_STATUS Mouse_status, pdc_mouse_status;
|
||||
extern RIPPEDOFFLINE linesripped[5];
|
||||
extern char linesrippedoff;
|
||||
|
||||
#ifndef XCURSES
|
||||
static
|
||||
#endif
|
||||
WINDOW *Xinitscr(int argc, char *argv[])
|
||||
{
|
||||
int i;
|
||||
|
||||
Reference in New Issue
Block a user