summaryrefslogtreecommitdiffstats
path: root/call/dostime.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2017-07-25 21:53:29 +0200
committerRalf Baechle <ralf@linux-mips.org>2017-07-25 21:53:29 +0200
commitf4a142c0031a15f9a6532d9d910d66d3911f5adf (patch)
tree4c76c7f64e5062bd6e453b4a1fbf03be46ac8634 /call/dostime.c
parentc0329673fa987eb2d493babb54c8aaa86ac7f9b3 (diff)
Compress multiple blank lines into single lines.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'call/dostime.c')
-rw-r--r--call/dostime.c3
1 files changed, 0 insertions, 3 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,