diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2017-07-25 21:53:29 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2017-07-25 21:53:29 +0200 |
commit | f4a142c0031a15f9a6532d9d910d66d3911f5adf (patch) | |
tree | 4c76c7f64e5062bd6e453b4a1fbf03be46ac8634 /call | |
parent | c0329673fa987eb2d493babb54c8aaa86ac7f9b3 (diff) |
Compress multiple blank lines into single lines.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'call')
-rw-r--r-- | call/dostime.c | 3 | ||||
-rw-r--r-- | call/menu.c | 2 |
2 files changed, 0 insertions, 5 deletions
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; |