]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
command_t: punt unused type
authorMike Frysinger <vapier@gentoo.org>
Wed, 20 Oct 2010 07:35:09 +0000 (03:35 -0400)
committerWolfgang Denk <wd@denx.de>
Sun, 28 Nov 2010 20:42:56 +0000 (21:42 +0100)
The recent command clean up to constify the argv option to command funcs
missed the command_t type itself.  This is probably because there are no
build time warnings from it because no one is actually using this thing.
So just punt it rather than fix it.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
include/command.h

index 46a9ec4c4cac859c7c261cb39f15eceae4d5b01d..00edc85117c8667f86c141823f31c3548fb2629d 100644 (file)
@@ -86,8 +86,6 @@ extern int cmd_auto_complete(const char *const prompt, char *buf, int *np, int *
  * void function (cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]);
  */
 
-typedef        void    command_t (cmd_tbl_t *, int, int, char *[]);
-
 #if defined(CONFIG_CMD_MEMORY)         \
     || defined(CONFIG_CMD_I2C)         \
     || defined(CONFIG_CMD_ITEST)       \