summaryrefslogtreecommitdiffstats
path: root/common/partition.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2007-07-05 18:01:58 +0200
committerSascha Hauer <sha@octopus.labnet.pengutronix.de>2007-07-05 18:01:58 +0200
commitfe2d505d4df0ebae0e519abeb2cccfeb10ef80ac (patch)
tree3511c0d06d4de0cc65af6710d1e2bfae53e9e8b7 /common/partition.c
parentdbf8680a0a9a983e8edd320d1ea812f7d6a1f1c8 (diff)
downloadbarebox-fe2d505d4df0ebae0e519abeb2cccfeb10ef80ac.tar.gz
barebox-fe2d505d4df0ebae0e519abeb2cccfeb10ef80ac.tar.xz
svn_rev_481
make more char * const, fix compiler warnings
Diffstat (limited to 'common/partition.c')
-rw-r--r--common/partition.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/partition.c b/common/partition.c
index 15d44305f1..919e2e2e08 100644
--- a/common/partition.c
+++ b/common/partition.c
@@ -167,7 +167,7 @@ int do_addpart ( cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
return 0;
}
-static char cmd_addpart_help[] =
+static __maybe_unused char cmd_addpart_help[] =
"Usage: addpart <partition description>\n"
"addpart adds a partition description to a device. The partition description\n"
"has the form\n"
@@ -206,7 +206,7 @@ int do_delpart ( cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
return 0;
}
-static char cmd_delpart_help[] =
+static __maybe_unused char cmd_delpart_help[] =
"Usage: delpart <dev>\n"
"Delete partitions previously added to a device with addpart.\n"
"Note: You have to specify the device as 'devid', _not_ as '/dev/devid'. This\n"