[coreboot-gerrit] New patch to review for coreboot: 3bdb430 libpayload: Fix missing prototype warning for Xinitscr()

Stefan Reinauer (stefan.reinauer@coreboot.org) gerrit at coreboot.org
Mon Mar 25 23:57:24 CET 2013

Stefan Reinauer (stefan.reinauer at coreboot.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/2907


commit 3bdb43030c80f60cd75961f88042f2811ed6096d
Author: Stefan Reinauer <reinauer at chromium.org>
Date:   Mon Mar 25 15:32:25 2013 -0700

    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 at google.com>
 payloads/libpayload/curses/PDCurses-3.4/pdcurses/initscr.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/payloads/libpayload/curses/PDCurses-3.4/pdcurses/initscr.c b/payloads/libpayload/curses/PDCurses-3.4/pdcurses/initscr.c
index 2fb2600..165b7f9 100644
--- a/payloads/libpayload/curses/PDCurses-3.4/pdcurses/initscr.c
+++ b/payloads/libpayload/curses/PDCurses-3.4/pdcurses/initscr.c
@@ -108,6 +108,9 @@ MOUSE_STATUS Mouse_status, pdc_mouse_status;
 extern RIPPEDOFFLINE linesripped[5];
 extern char linesrippedoff;
+#ifndef XCURSES
 WINDOW *Xinitscr(int argc, char *argv[])
     int i;

More information about the coreboot-gerrit mailing list