Remove some dangling whitespace at the end of lines.

This commit is contained in:
Gregory Nutt 2017-11-17 13:23:02 -06:00
parent 7ba2110c83
commit 69bea27b20
43 changed files with 928 additions and 928 deletions

View file

@ -145,8 +145,8 @@
#define BUTTON3_TRIPLE_CLICKED 0x00004000L
#define BUTTON3_MOVED 0x00004000L /* PDCurses */
/* For the ncurses-compatible functions only, BUTTON4_PRESSED and
BUTTON5_PRESSED are returned for mouse scroll wheel up and down;
/* For the ncurses-compatible functions only, BUTTON4_PRESSED and
BUTTON5_PRESSED are returned for mouse scroll wheel up and down;
otherwise PDCurses doesn't support buttons 4 and 5 */
#define BUTTON4_RELEASED 0x00008000L
@ -182,13 +182,13 @@
/* PDCurses Text Attributes
*
* Originally, PDCurses used a short (16 bits) for its chtype. To include
* color, a number of things had to be sacrificed from the strict Unix and
* System V support. The main problem was fitting all character attributes
* Originally, PDCurses used a short (16 bits) for its chtype. To include
* color, a number of things had to be sacrificed from the strict Unix and
* System V support. The main problem was fitting all character attributes
* and color into an unsigned char (all 8 bits!).
*
* Today, PDCurses by default uses a long (32 bits) for its chtype, as in
* System V. The short chtype is still available, by undefining CHTYPE_LONG
* Today, PDCurses by default uses a long (32 bits) for its chtype, as in
* System V. The short chtype is still available, by undefining CHTYPE_LONG
* and rebuilding the library.
*
* The following is the structure of a win->_attrs chtype:
@ -200,20 +200,20 @@
* -------------------------------------------------
* color number | attrs | character eg 'a'
*
* The available non-color attributes are bold, reverse and blink. Others
* have no effect. The high order char is an index into an array of
* physical colors (defined in color.c) -- 32 foreground/background color
* The available non-color attributes are bold, reverse and blink. Others
* have no effect. The high order char is an index into an array of
* physical colors (defined in color.c) -- 32 foreground/background color
* pairs (5 bits) plus 3 bits for other attributes.
*
* long form:
*
*
* ----------------------------------------------------------------------------
* |31|30|29|28|27|26|25|24|23|22|21|20|19|18|17|16|15|14|13|12|..| 3| 2| 1| 0|
* ----------------------------------------------------------------------------
* color number | modifiers | character eg 'a'
*
* The available non-color attributes are bold, underline, invisible,
* right-line, left-line, protect, reverse and blink. 256 color pairs (8
* The available non-color attributes are bold, underline, invisible,
* right-line, left-line, protect, reverse and blink. 256 color pairs (8
* bits), 8 bits for other attributes, and 16 bits for character data.
*/
@ -269,7 +269,7 @@
#define ATR_MSK A_ATTRIBUTES /* Obsolete */
#define ATR_NRM A_NORMAL /* Obsolete */
/* For use with attr_t -- X/Open says, "these shall be distinct", so
/* For use with attr_t -- X/Open says, "these shall be distinct", so
* this is a non-conforming implementation.
*/
@ -293,7 +293,7 @@
/* Alternate character set macros
*
* 'w' = 32-bit chtype; acs_map[] index | A_ALTCHARSET
* 'n' = 16-bit chtype; it gets the fallback set because no bit is
* 'n' = 16-bit chtype; it gets the fallback set because no bit is
* available for A_ALTCHARSET
*/
@ -804,7 +804,7 @@ typedef struct _win /* definition of a window */
struct _win *_parent; /* subwin's pointer to parent win */
} WINDOW;
/* Avoid using the SCREEN struct directly -- use the corresponding
/* Avoid using the SCREEN struct directly -- use the corresponding
* functions if possible. This struct may eventually be made private.
*/
@ -831,12 +831,12 @@ typedef struct
unsigned long _trap_mbe; /* trap these mouse button events */
unsigned long _map_mbe_to_key; /* map mouse buttons to slk */
int mouse_wait; /* time to wait (in ms) for a
* button release after a press, in
* button release after a press, in
* order to count it as a click */
int slklines; /* lines in use by slk_init() */
WINDOW *slk_winptr; /* window for slk */
int linesrippedoff; /* lines ripped off via ripoffline() */
int linesrippedoffontop; /* lines ripped off on
int linesrippedoffontop; /* lines ripped off on
* top via ripoffline() */
int delaytenths; /* 1/10ths second to wait block
* getch() for */
@ -894,7 +894,7 @@ void bkgdset(chtype);
int border(chtype, chtype, chtype, chtype, chtype, chtype, chtype, chtype);
int box(WINDOW *, chtype, chtype);
bool can_change_color(void);
int cbreak(void);
int cbreak(void);
int chgat(int, attr_t, short, const void *);
int clearok(WINDOW *, bool);
int clear(void);
@ -909,7 +909,7 @@ int def_shell_mode(void);
int delay_output(int);
int delch(void);
int deleteln(void);
void delscreen(SCREEN *);
void delscreen(SCREEN *);
int delwin(WINDOW *);
WINDOW *derwin(WINDOW *, int, int, int, int);
int doupdate(void);
@ -1147,8 +1147,8 @@ int addwstr(const wchar_t *);
int add_wch(const cchar_t *);
int add_wchnstr(const cchar_t *, int);
int add_wchstr(const cchar_t *);
int border_set(const cchar_t *, const cchar_t *, const cchar_t *,
const cchar_t *, const cchar_t *, const cchar_t *,
int border_set(const cchar_t *, const cchar_t *, const cchar_t *,
const cchar_t *, const cchar_t *, const cchar_t *,
const cchar_t *, const cchar_t *);
int box_set(WINDOW *, const cchar_t *, const cchar_t *);
int echo_wchar(const cchar_t *);
@ -1218,7 +1218,7 @@ int wadd_wchstr(WINDOW *, const cchar_t *);
int wbkgrnd(WINDOW *, const cchar_t *);
void wbkgrndset(WINDOW *, const cchar_t *);
int wborder_set(WINDOW *, const cchar_t *, const cchar_t *,
const cchar_t *, const cchar_t *, const cchar_t *,
const cchar_t *, const cchar_t *, const cchar_t *,
const cchar_t *, const cchar_t *, const cchar_t *);
int wecho_wchar(WINDOW *, const cchar_t *);
int wgetbkgrnd(WINDOW *, cchar_t *);