payloads: Drop unneeded empty lines
Change-Id: I6faeb7c783052edc4217d2d301dbb905e1fc6a19 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/44605 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Michael Niewöhner <foss@mniewoehner.de>
This commit is contained in:
committed by
Michael Niewöhner
parent
99e0c7ddc1
commit
3ff7bcf10e
@@ -46,14 +46,12 @@ void rmerror(void);
|
||||
# define EDITBOXCOLOR (A_BOLD | A_REVERSE)
|
||||
#endif
|
||||
|
||||
|
||||
#define th 1 /* title window height */
|
||||
#define mh 1 /* main menu height */
|
||||
#define sh 2 /* status window height */
|
||||
#define bh (LINES - th - mh - sh) /* body window height */
|
||||
#define bw COLS /* body window width */
|
||||
|
||||
|
||||
/******************************* STATIC ************************************/
|
||||
|
||||
static WINDOW *wtitl, *wmain, *wbody, *wstat; /* title, menu, body, status win*/
|
||||
@@ -360,7 +358,6 @@ static void cleanup(void) /* cleanup curses settings */
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/******************************* EXTERNAL **********************************/
|
||||
|
||||
void clsbody(void)
|
||||
|
@@ -116,7 +116,6 @@ ScrollBoxClassRec scrollBoxClassRec = {
|
||||
|
||||
WidgetClass scrollBoxWidgetClass = (WidgetClass)&scrollBoxClassRec;
|
||||
|
||||
|
||||
/************************************************************************
|
||||
* *
|
||||
* Private Routines *
|
||||
|
@@ -42,7 +42,6 @@
|
||||
|
||||
*/
|
||||
|
||||
|
||||
/* Class record constants */
|
||||
|
||||
extern WidgetClass scrollBoxWidgetClass;
|
||||
|
@@ -56,7 +56,6 @@ typedef struct {
|
||||
XtGeometryMask last_query_mode;
|
||||
} ScrollBoxPart;
|
||||
|
||||
|
||||
/************************************************************************
|
||||
* *
|
||||
* Full instance record declaration *
|
||||
|
@@ -276,7 +276,6 @@ static char *program_name;
|
||||
|
||||
#define RCOLOR(name, value) RPIXEL(color##name, Color##name, value)
|
||||
|
||||
|
||||
#define RSTRINGP(name1, name2, param) { \
|
||||
#name1, #name2, XtRString, \
|
||||
MAX_PATH, APPDATAOFF(name1), XtRString, (XtPointer)param \
|
||||
|
@@ -32,7 +32,6 @@
|
||||
* and: Thomas E. Dickey 1996-on *
|
||||
****************************************************************************/
|
||||
|
||||
|
||||
/*
|
||||
* $Id: curses.priv.h,v 1.314 2006/12/10 00:55:14 tom Exp $
|
||||
*
|
||||
@@ -497,7 +496,6 @@ struct screen {
|
||||
chtype * _acs_map; /* the real alternate-charset map */
|
||||
bool * _screen_acs_map;
|
||||
|
||||
|
||||
/* used in lib_vidattr.c */
|
||||
bool _use_rmso; /* true if we may use 'rmso' */
|
||||
bool _use_rmul; /* true if we may use 'rmul' */
|
||||
@@ -980,7 +978,6 @@ extern NCURSES_EXPORT(void) name (void); \
|
||||
}\
|
||||
TR(TRACE_ATTRS, ("new attribute is %s", _traceattr((S))));}
|
||||
|
||||
|
||||
#define toggle_attr_off(S,at) {\
|
||||
if (PAIR_NUMBER(at) > 0) {\
|
||||
(S) &= ~(at|A_COLOR);\
|
||||
|
@@ -106,7 +106,6 @@ typedef struct fieldnode {
|
||||
NCURSES_FIELD_INTERNALS
|
||||
} FIELD;
|
||||
|
||||
|
||||
/*********
|
||||
* FORM *
|
||||
*********/
|
||||
@@ -138,7 +137,6 @@ typedef struct formnode {
|
||||
|
||||
} FORM;
|
||||
|
||||
|
||||
/**************
|
||||
* FIELDTYPE *
|
||||
**************/
|
||||
|
@@ -132,7 +132,6 @@ typedef struct tagMENU
|
||||
|
||||
} MENU;
|
||||
|
||||
|
||||
/* Define keys */
|
||||
|
||||
#define REQ_LEFT_ITEM (KEY_MAX + 1)
|
||||
@@ -170,7 +169,6 @@ typedef struct tagMENU
|
||||
# define MAX_COMMAND (KEY_MAX + 128)
|
||||
#endif
|
||||
|
||||
|
||||
/* --------- prototypes for libmenu functions ----------------------------- */
|
||||
|
||||
extern NCURSES_EXPORT(ITEM **) menu_items (const MENU *);
|
||||
@@ -244,7 +242,6 @@ extern NCURSES_EXPORT(int) menu_request_by_name (const char *);
|
||||
extern NCURSES_EXPORT(int) set_menu_spacing (MENU *,int,int,int);
|
||||
extern NCURSES_EXPORT(int) menu_spacing (const MENU *,int *,int *,int *);
|
||||
|
||||
|
||||
extern NCURSES_EXPORT(bool) item_value (const ITEM *);
|
||||
extern NCURSES_EXPORT(bool) item_visible (const ITEM *);
|
||||
|
||||
|
@@ -66,7 +66,6 @@ extern int errno;
|
||||
#define MODULE_ID(id) /*nothing*/
|
||||
#endif
|
||||
|
||||
|
||||
/* Maximum regular 8-bit character code */
|
||||
#define MAX_REGULAR_CHARACTER (0xff)
|
||||
|
||||
|
@@ -163,7 +163,6 @@ chtype console_acs_map[128] =
|
||||
// FIXME: Ugly (and insecure!) hack!
|
||||
char sprintf_tmp[1024];
|
||||
|
||||
|
||||
int curses_flags = (F_ENABLE_CONSOLE | F_ENABLE_SERIAL);
|
||||
|
||||
/* Return bit mask for clearing color pair number if given ch has color */
|
||||
|
Reference in New Issue
Block a user