summaryrefslogtreecommitdiffstats
path: root/commands/partition.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/partition.c
parent27bf8f1deabda87d07a8b9c7e21b59484f1a197e (diff)
downloadbarebox-b3dc734018ef4dff8bab10409cd3ddf5ee10c48c.tar.gz
barebox-b3dc734018ef4dff8bab10409cd3ddf5ee10c48c.tar.xz
declare lots of functions static
Diffstat (limited to 'commands/partition.c')
-rw-r--r--commands/partition.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/commands/partition.c b/commands/partition.c
index 199f0c7c5..c6130337b 100644
--- a/commands/partition.c
+++ b/commands/partition.c
@@ -105,7 +105,7 @@ static int mtd_part_do_parse_one(struct partition *part, const char *str,
return 0;
}
-int do_addpart(cmd_tbl_t * cmdtp, int argc, char *argv[])
+static int do_addpart(cmd_tbl_t * cmdtp, int argc, char *argv[])
{
struct partition *part;
struct device_d *dev;
@@ -181,7 +181,7 @@ U_BOOT_CMD_START(addpart)
U_BOOT_CMD_HELP(cmd_addpart_help)
U_BOOT_CMD_END
-int do_delpart(cmd_tbl_t * cmdtp, int argc, char *argv[])
+static int do_delpart(cmd_tbl_t * cmdtp, int argc, char *argv[])
{
struct device_d *dev;