aboutsummaryrefslogtreecommitdiff
path: root/payloads/libpayload/curses/PDCurses-3.4/x11/pdcx11.c
diff options
context:
space:
mode:
authorStefan Reinauer <reinauer@chromium.org>2011-10-31 12:54:00 -0700
committerPatrick Georgi <patrick@georgi-clan.de>2011-11-01 19:08:23 +0100
commite11835e2995d130890ca9f45cb3e304f2ea3a6a9 (patch)
treecfc5345e9d98b231de0699714771a5d7f54c6ce1 /payloads/libpayload/curses/PDCurses-3.4/x11/pdcx11.c
parentdd6906328904309e4d93e4bcb04a6cfa3646f29d (diff)
libpayload: remove trailing whitespace and run dos2unix
Change-Id: Iffed3602456f5306711c65f06c873c58d4086e11 Signed-off-by: Stefan Reinauer <reinauer@google.com> Reviewed-on: http://review.coreboot.org/363 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
Diffstat (limited to 'payloads/libpayload/curses/PDCurses-3.4/x11/pdcx11.c')
-rw-r--r--payloads/libpayload/curses/PDCurses-3.4/x11/pdcx11.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/payloads/libpayload/curses/PDCurses-3.4/x11/pdcx11.c b/payloads/libpayload/curses/PDCurses-3.4/x11/pdcx11.c
index 1e8d0d163c..370cedb0a7 100644
--- a/payloads/libpayload/curses/PDCurses-3.4/x11/pdcx11.c
+++ b/payloads/libpayload/curses/PDCurses-3.4/x11/pdcx11.c
@@ -99,7 +99,7 @@ int XC_read_socket(int sock_num, void *buf, int len)
SP->resized = FALSE;
memcpy(buf, &rc, sizeof(int));
-
+
return 0;
}
@@ -178,7 +178,7 @@ static int _setup_curses(void)
if (wait_value != CURSES_CHILD)
return ERR;
- /* Set LINES and COLS now so that the size of the shared memory
+ /* Set LINES and COLS now so that the size of the shared memory
segment can be allocated */
if ((shmidSP = shmget(shmkeySP, sizeof(SCREEN) + XCURSESSHMMIN, 0700)) < 0)
@@ -226,13 +226,13 @@ int XCursesInitscr(int argc, char *argv[])
XC_LOG(("XCursesInitscr() - called\n"));
shmkeySP = getpid();
-
+
if (socketpair(AF_UNIX, SOCK_STREAM, 0, xc_display_sockets) < 0)
{
fprintf(stderr, "ERROR: cannot create display socketpair\n");
return ERR;
}
-
+
if (socketpair(AF_UNIX, SOCK_STREAM, 0, xc_key_sockets) < 0)
{
fprintf(stderr, "ERROR: cannot create key socketpair\n");