[U-Boot-Users] [PATCH] image: remove inline for image_print_contents and image_print_contents_noindent

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Sat Apr 19 18:46:54 CEST 2008


Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>

diff --git a/common/image.c b/common/image.c
index d218f2f..ac033df 100644
--- a/common/image.c
+++ b/common/image.c
@@ -366,12 +366,12 @@ static void __image_print_contents (image_header_t *hdr, const char *p)
 	}
 }
 
-inline void image_print_contents (image_header_t *hdr)
+void image_print_contents (image_header_t *hdr)
 {
 	__image_print_contents (hdr, "   ");
 }
 
-inline void image_print_contents_noindent (image_header_t *hdr)
+void image_print_contents_noindent (image_header_t *hdr)
 {
 	__image_print_contents (hdr, "");
 }
diff --git a/include/image.h b/include/image.h
index 60fdb2b..491d1cb 100644
--- a/include/image.h
+++ b/include/image.h
@@ -392,8 +392,8 @@ ulong image_multi_count (image_header_t *hdr);
 void image_multi_getimg (image_header_t *hdr, ulong idx,
 			ulong *data, ulong *len);
 
-inline void image_print_contents (image_header_t *hdr);
-inline void image_print_contents_noindent (image_header_t *hdr);
+void image_print_contents (image_header_t *hdr);
+void image_print_contents_noindent (image_header_t *hdr);
 
 #ifndef USE_HOSTCC
 static inline int image_check_target_arch (image_header_t *hdr)
-- 
1.5.4.5





More information about the U-Boot mailing list