From 1de0ea4abd7153c6fcdbdbac6048a1e46f673fc2 Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Tue, 31 Jan 2017 11:32:49 +0100 Subject: Sort out variable and function declarations. - Make static what can be made static. - Add declaration where they were missing. - Don't define variables in headers. - Move declaations to the proper locations. - Pick up declarations from the proper headers. Signed-off-by: Ralf Baechle --- call/dostime.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'call/dostime.c') diff --git a/call/dostime.c b/call/dostime.c index 4eb34c9..6e6e173 100644 --- a/call/dostime.c +++ b/call/dostime.c @@ -3,6 +3,8 @@ #include #include +#include "call.h" + /* MS-DOS time/date conversion routines derived from: */ @@ -21,7 +23,7 @@ static int day_n[] = /* Convert a MS-DOS time/date pair to a UNIX date (seconds since 1 1 70). */ -int date_dos2unix(unsigned short time, unsigned short date) +static int date_dos2unix(unsigned short time, unsigned short date) { int month, year, secs; -- cgit v1.2.3