aboutsummaryrefslogtreecommitdiff
path: root/payloads/libpayload/curses/PDCurses-3.4/pdcurses/termattr.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/pdcurses/termattr.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/pdcurses/termattr.c')
-rw-r--r--payloads/libpayload/curses/PDCurses-3.4/pdcurses/termattr.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/payloads/libpayload/curses/PDCurses-3.4/pdcurses/termattr.c b/payloads/libpayload/curses/PDCurses-3.4/pdcurses/termattr.c
index 06e9ee856e..f25ee95e03 100644
--- a/payloads/libpayload/curses/PDCurses-3.4/pdcurses/termattr.c
+++ b/payloads/libpayload/curses/PDCurses-3.4/pdcurses/termattr.c
@@ -25,16 +25,16 @@ RCSID("$Id: termattr.c,v 1.54 2008/07/13 16:08:18 wmcbrine Exp $")
char wordchar(void);
Description:
- baudrate() is supposed to return the output speed of the
+ baudrate() is supposed to return the output speed of the
terminal. In PDCurses, it simply returns INT_MAX.
- has_ic and has_il() return TRUE. These functions have meaning in
+ has_ic and has_il() return TRUE. These functions have meaning in
some other implementations of curses.
- erasechar() and killchar() return ^H and ^U, respectively -- the
- ERASE and KILL characters. In other curses implementations,
- these may vary by terminal type. erasewchar() and killwchar()
- are the wide-character versions; they take a pointer to a
+ erasechar() and killchar() return ^H and ^U, respectively -- the
+ ERASE and KILL characters. In other curses implementations,
+ these may vary by terminal type. erasewchar() and killwchar()
+ are the wide-character versions; they take a pointer to a
location in which to store the character, and return OK or ERR.
longname() returns a pointer to a static area containing a
@@ -48,8 +48,8 @@ RCSID("$Id: termattr.c,v 1.54 2008/07/13 16:08:18 wmcbrine Exp $")
termattrs() returns a logical OR of all video attributes
supported by the terminal.
- wordchar() is a PDCurses extension of the concept behind the
- functions erasechar() and killchar(), returning the "delete
+ wordchar() is a PDCurses extension of the concept behind the
+ functions erasechar() and killchar(), returning the "delete
word" character, ^W.
Portability X/Open BSD SYS V
@@ -131,7 +131,7 @@ attr_t term_attrs(void)
{
PDC_LOG(("term_attrs() - called\n"));
- return WA_BLINK | WA_BOLD | WA_INVIS | WA_LEFT | WA_REVERSE |
+ return WA_BLINK | WA_BOLD | WA_INVIS | WA_LEFT | WA_REVERSE |
WA_RIGHT | WA_UNDERLINE;
}