]> cloudbase.mooo.com Git - z180-stamp.git/blobdiff - avr/cmd_date.c
commandtable, flags: int --> uint8_t/uint_fast8_t. Macro UNUSED for Parameters/Variables
[z180-stamp.git] / avr / cmd_date.c
index 3e2e01680513df316623da108b4112761cf67a29..91a3d4439dbe9816817ead63d936dc097fc4b22f 100644 (file)
@@ -4,7 +4,7 @@
  * (C) Copyright 2001
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+
+ * SPDX-License-Identifier:    GPL-2.0
  */
 
 /*
@@ -125,7 +125,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];