summaryrefslogtreecommitdiff
path: root/payloads/libpayload/curses/PDCurses
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2020-08-19 21:49:34 +0200
committerMichael Niewöhner <foss@mniewoehner.de>2020-09-21 16:20:57 +0000
commit3ff7bcf10e0d07f71ece45267d31ae1f83b04701 (patch)
tree8505dff0b98bee6a50fa10a5ec1a90536ec51fec /payloads/libpayload/curses/PDCurses
parent99e0c7ddc1004b69df65483c029ee8915650223a (diff)
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>
Diffstat (limited to 'payloads/libpayload/curses/PDCurses')
-rw-r--r--payloads/libpayload/curses/PDCurses/demos/tui.c3
-rw-r--r--payloads/libpayload/curses/PDCurses/x11/ScrollBox.c1
-rw-r--r--payloads/libpayload/curses/PDCurses/x11/ScrollBox.h1
-rw-r--r--payloads/libpayload/curses/PDCurses/x11/ScrollBoxP.h1
-rw-r--r--payloads/libpayload/curses/PDCurses/x11/x11.c1
5 files changed, 0 insertions, 7 deletions
diff --git a/payloads/libpayload/curses/PDCurses/demos/tui.c b/payloads/libpayload/curses/PDCurses/demos/tui.c
index 62e0d53767..41f34ba410 100644
--- a/payloads/libpayload/curses/PDCurses/demos/tui.c
+++ b/payloads/libpayload/curses/PDCurses/demos/tui.c
@@ -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)
diff --git a/payloads/libpayload/curses/PDCurses/x11/ScrollBox.c b/payloads/libpayload/curses/PDCurses/x11/ScrollBox.c
index e77d2c78ce..b96a027282 100644
--- a/payloads/libpayload/curses/PDCurses/x11/ScrollBox.c
+++ b/payloads/libpayload/curses/PDCurses/x11/ScrollBox.c
@@ -116,7 +116,6 @@ ScrollBoxClassRec scrollBoxClassRec = {
WidgetClass scrollBoxWidgetClass = (WidgetClass)&scrollBoxClassRec;
-
/************************************************************************
* *
* Private Routines *
diff --git a/payloads/libpayload/curses/PDCurses/x11/ScrollBox.h b/payloads/libpayload/curses/PDCurses/x11/ScrollBox.h
index 5825862744..9ba7d67331 100644
--- a/payloads/libpayload/curses/PDCurses/x11/ScrollBox.h
+++ b/payloads/libpayload/curses/PDCurses/x11/ScrollBox.h
@@ -42,7 +42,6 @@
*/
-
/* Class record constants */
extern WidgetClass scrollBoxWidgetClass;
diff --git a/payloads/libpayload/curses/PDCurses/x11/ScrollBoxP.h b/payloads/libpayload/curses/PDCurses/x11/ScrollBoxP.h
index 44551386bc..902edeebb7 100644
--- a/payloads/libpayload/curses/PDCurses/x11/ScrollBoxP.h
+++ b/payloads/libpayload/curses/PDCurses/x11/ScrollBoxP.h
@@ -56,7 +56,6 @@ typedef struct {
XtGeometryMask last_query_mode;
} ScrollBoxPart;
-
/************************************************************************
* *
* Full instance record declaration *
diff --git a/payloads/libpayload/curses/PDCurses/x11/x11.c b/payloads/libpayload/curses/PDCurses/x11/x11.c
index 69c3199b54..46444d4471 100644
--- a/payloads/libpayload/curses/PDCurses/x11/x11.c
+++ b/payloads/libpayload/curses/PDCurses/x11/x11.c
@@ -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 \