From f4a142c0031a15f9a6532d9d910d66d3911f5adf Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Tue, 25 Jul 2017 21:53:29 +0200 Subject: Compress multiple blank lines into single lines. Signed-off-by: Ralf Baechle --- call/dostime.c | 3 --- call/menu.c | 2 -- 2 files changed, 5 deletions(-) (limited to 'call') diff --git a/call/dostime.c b/call/dostime.c index 6e6e173..910a66e 100644 --- a/call/dostime.c +++ b/call/dostime.c @@ -5,7 +5,6 @@ #include "call.h" - /* MS-DOS time/date conversion routines derived from: */ /* @@ -20,7 +19,6 @@ static int day_n[] = { 0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334, 0, 0, 0, 0 }; /* Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec */ - /* Convert a MS-DOS time/date pair to a UNIX date (seconds since 1 1 70). */ static int date_dos2unix(unsigned short time, unsigned short date) @@ -39,7 +37,6 @@ static int date_dos2unix(unsigned short time, unsigned short date) return secs; } - /* Convert linear UNIX date to a MS-DOS time/date pair. */ void date_unix2dos(time_t unix_date, unsigned short *time, diff --git a/call/menu.c b/call/menu.c index 6a0613f..7de66b4 100644 --- a/call/menu.c +++ b/call/menu.c @@ -199,7 +199,6 @@ int p_dwn_menu(wint * wtab, menuitem * menustr, int starty, int startx) if (c == 0x1b) return 0; - if (c == KEY_RIGHT || c == KEY_LEFT) return c; else @@ -235,7 +234,6 @@ void menu_write_item(WINDOW * win, int xpos, int reverse, const char st[]) wattroff(win, A_REVERSE); } - int top_menu(wint * wtab, menuitem menustr[], int ystart) { int str_max_length = 0; -- cgit v1.2.3