summaryrefslogtreecommitdiffstats
path: root/include/command.h
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-10-20 03:35:09 -0400
committerWolfgang Denk <wd@denx.de>2010-11-28 21:42:56 +0100
commit40b484a3dfb586076c6cfba44eff3e3cf0b5bd1f (patch)
tree2c144ffc2bcf5bf3f15194fbec0e4f25f188847d /include/command.h
parent3a5ee0b1d6437da1b45e7475ef761cff2d296467 (diff)
downloadblackbird-obmc-uboot-40b484a3dfb586076c6cfba44eff3e3cf0b5bd1f.tar.gz
blackbird-obmc-uboot-40b484a3dfb586076c6cfba44eff3e3cf0b5bd1f.zip
command_t: punt unused type
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>
Diffstat (limited to 'include/command.h')
-rw-r--r--include/command.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/command.h b/include/command.h
index 46a9ec4c4c..00edc85117 100644
--- a/include/command.h
+++ b/include/command.h
@@ -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) \
OpenPOWER on IntegriCloud