+// SPDX-License-Identifier: BSD-3-Clause
/*
* inih -- simple .INI file parser
*
* Joe Hershberger, National Instruments, joe.hershberger@ni.com
* All rights reserved.
*
- * SPDX-License-Identifier: BSD-3-Clause
- *
* Go to the project home page for more info:
* http://code.google.com/p/inih/
*/
#include <common.h>
#include <command.h>
-#include <environment.h>
+#include <env.h>
#include <linux/ctype.h>
#include <linux/string.h>
return 1;
}
-static int do_ini(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
+static int do_ini(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
{
const char *section;
char *file_address;