summaryrefslogtreecommitdiffstats
path: root/common/image.c
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2010-09-23 21:32:19 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2010-09-24 08:46:22 +0200
commit0ceafe14be072696eff3e549d8c7b7de8a3e416d (patch)
treec0ea8344342f23ab546e26a78753452075294619 /common/image.c
parentaba80a2d2d0f1b25185246925577ce2108247dde (diff)
downloadbarebox-0ceafe14be072696eff3e549d8c7b7de8a3e416d.tar.gz
barebox-0ceafe14be072696eff3e549d8c7b7de8a3e416d.tar.xz
Replace direct header access with the API routines
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/image.c')
-rw-r--r--common/image.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/common/image.c b/common/image.c
index b0af2efd3e..75346f5079 100644
--- a/common/image.c
+++ b/common/image.c
@@ -113,22 +113,22 @@ static char *get_table_entry_name(table_entry_t *table, char *msg, int id)
return msg;
}
-const char *image_os(uint8_t os)
+const char *image_get_os_name(uint8_t os)
{
return get_table_entry_name(os_name, "Unknown OS", os);
}
-const char *image_arch(uint8_t arch)
+const char *image_get_arch_name(uint8_t arch)
{
return get_table_entry_name(arch_name, "Unknown Architecture", arch);
}
-const char *image_type(uint8_t type)
+const char *image_get_type_name(uint8_t type)
{
return get_table_entry_name(type_name, "Unknown Image", type);
}
-const char *image_compression(uint8_t comp)
+const char *image_get_comp_name(uint8_t comp)
{
return get_table_entry_name(comp_name, "Unknown Compression", comp);
}