summaryrefslogtreecommitdiffstats
path: root/commands/bootm.c
diff options
context:
space:
mode:
authorSascha Hauer <sha@octopus.labnet.pengutronix.de>2007-09-28 10:07:26 +0200
committerSascha Hauer <sha@octopus.labnet.pengutronix.de>2007-09-28 10:07:26 +0200
commitb3dc734018ef4dff8bab10409cd3ddf5ee10c48c (patch)
tree5f63c72afb179be139d44d0d823253f08f0392fc /commands/bootm.c
parent27bf8f1deabda87d07a8b9c7e21b59484f1a197e (diff)
downloadbarebox-b3dc734018ef4dff8bab10409cd3ddf5ee10c48c.tar.gz
barebox-b3dc734018ef4dff8bab10409cd3ddf5ee10c48c.tar.xz
declare lots of functions static
Diffstat (limited to 'commands/bootm.c')
-rw-r--r--commands/bootm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/commands/bootm.c b/commands/bootm.c
index 8f45d4c348..4a0d00daec 100644
--- a/commands/bootm.c
+++ b/commands/bootm.c
@@ -317,7 +317,7 @@ void unmap_image(struct image_handle *handle)
#define OPT_OFTREE
#endif
-int do_bootm (cmd_tbl_t *cmdtp, int argc, char *argv[])
+static int do_bootm (cmd_tbl_t *cmdtp, int argc, char *argv[])
{
ulong iflag;
int verify = 1;
@@ -666,7 +666,7 @@ do_bootm_artos (cmd_tbl_t *cmdtp,
#endif
#ifdef CONFIG_CMD_IMI
-int do_iminfo ( cmd_tbl_t *cmdtp, int argc, char *argv[])
+static int do_iminfo ( cmd_tbl_t *cmdtp, int argc, char *argv[])
{
int arg;
ulong addr;
@@ -776,7 +776,7 @@ print_image_hdr (image_header_t *hdr)
}
#ifdef CONFIG_BZLIB
-void bz_internal_error(int errcode)
+static void bz_internal_error(int errcode)
{
printf ("BZIP2 internal error %d\n", errcode);
}