From f7403928a9ee57ac717e38610dcbb04bb7798734 Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Thu, 7 Oct 2010 14:11:38 +0200 Subject: Revert "Replace direct header access with the API routines" This reverts commit 0ceafe14be072696eff3e549d8c7b7de8a3e416d. Conflicts: include/image.h Signed-off-by: Sascha Hauer --- common/image.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'common/image.c') diff --git a/common/image.c b/common/image.c index 75346f5079..b0af2efd3e 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_get_os_name(uint8_t os) +const char *image_os(uint8_t os) { return get_table_entry_name(os_name, "Unknown OS", os); } -const char *image_get_arch_name(uint8_t arch) +const char *image_arch(uint8_t arch) { return get_table_entry_name(arch_name, "Unknown Architecture", arch); } -const char *image_get_type_name(uint8_t type) +const char *image_type(uint8_t type) { return get_table_entry_name(type_name, "Unknown Image", type); } -const char *image_get_comp_name(uint8_t comp) +const char *image_compression(uint8_t comp) { return get_table_entry_name(comp_name, "Unknown Compression", comp); } -- cgit v1.2.3