command: Remove the cmd_tbl_t typedef
[oweals/u-boot.git] / cmd / nvedit_efi.c
index 75e4e51495353371a2c80994d41ac5cddb1965e9..29cad38e19b5e5856637e6aad85d6b71cd1f7b3a 100644 (file)
@@ -138,7 +138,7 @@ out:
  *
  * Show information encoded in named UEFI variables
  */
-static int efi_dump_vars(int argc,  char * const argv[],
+static int efi_dump_vars(int argc,  char *const argv[],
                         const efi_guid_t *guid, bool verbose)
 {
        u16 *var_name16, *p;
@@ -172,7 +172,7 @@ static int efi_dump_vars(int argc,  char * const argv[],
        return CMD_RET_SUCCESS;
 }
 
-static bool match_name(int argc, char * const argv[], u16 *var_name16)
+static bool match_name(int argc, char *const argv[], u16 *var_name16)
 {
        char *buf, *p;
        size_t buflen;
@@ -210,7 +210,7 @@ out:
  *
  * Show information encoded in all the UEFI variables
  */
-static int efi_dump_var_all(int argc,  char * const argv[],
+static int efi_dump_var_all(int argc,  char *const argv[],
                            const efi_guid_t *guid_p, bool verbose)
 {
        u16 *var_name16, *p;
@@ -275,7 +275,8 @@ static int efi_dump_var_all(int argc,  char * const argv[],
  * If one or more variable names are specified, show information
  * named UEFI variables, otherwise show all the UEFI variables.
  */
-int do_env_print_efi(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
+int do_env_print_efi(struct cmd_tbl *cmdtp, int flag, int argc,
+                    char *const argv[])
 {
        efi_guid_t guid;
        const efi_guid_t *guid_p;
@@ -465,7 +466,8 @@ out:
  * Encode values specified and set given UEFI variable.
  * If no value is specified, delete the variable.
  */
-int do_env_set_efi(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
+int do_env_set_efi(struct cmd_tbl *cmdtp, int flag, int argc,
+                  char *const argv[])
 {
        char *var_name, *value, *ep;
        ulong addr;