X-Git-Url: http://cloudbase.mooo.com/gitweb/z180-stamp.git/blobdiff_plain/b30c4e8f1aef96f6fdc93da9f125545f5f74d06e..972e6e9bc05f0d3d868357029a6da2354f2cdb36:/avr/cmd_date.c diff --git a/avr/cmd_date.c b/avr/cmd_date.c index 3e2e016..cbc4a32 100644 --- a/avr/cmd_date.c +++ b/avr/cmd_date.c @@ -4,17 +4,15 @@ * (C) Copyright 2001 * Wolfgang Denk, DENX Software Engineering, wd@denx.de. * - * SPDX-License-Identifier: GPL-2.0+ + * SPDX-License-Identifier: GPL-2.0 */ /* * RTC, Date & Time support: get and set date & time */ -#include "common.h" -#include +#include "cmd_date.h" #include "time.h" #include "rtc.h" -#include "command.h" /* @@ -125,7 +123,7 @@ int mk_date (const char *datestr, struct tm *tmp) return (-1); } -command_ret_t do_date(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) +command_ret_t do_date(cmd_tbl_t *cmdtp, uint_fast8_t flag, int argc, char * const argv[]) { struct tm t; char buf[30];