From: Mike Frysinger Date: Sun, 22 Apr 2012 06:59:06 +0000 (+0000) Subject: image/fit: drop inline markings on parser code X-Git-Tag: v2012.07-rc1~154 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=314f634b488ff6345d20a0ed05f95a990021adb8;p=oweals%2Fu-boot.git image/fit: drop inline markings on parser code Putting "inline" on extern funcs makes no sense, so drop them. Signed-off-by: Mike Frysinger --- diff --git a/common/image.c b/common/image.c index 342b315918..91954ac54b 100644 --- a/common/image.c +++ b/common/image.c @@ -1829,7 +1829,7 @@ static int fit_parse_spec(const char *spec, char sepc, ulong addr_curr, * addr and conf_name are set accordingly * 0 otherwise */ -inline int fit_parse_conf(const char *spec, ulong addr_curr, +int fit_parse_conf(const char *spec, ulong addr_curr, ulong *addr, const char **conf_name) { return fit_parse_spec(spec, '#', addr_curr, addr, conf_name); @@ -1855,7 +1855,7 @@ inline int fit_parse_conf(const char *spec, ulong addr_curr, * addr and image_name are set accordingly * 0 otherwise */ -inline int fit_parse_subimage(const char *spec, ulong addr_curr, +int fit_parse_subimage(const char *spec, ulong addr_curr, ulong *addr, const char **image_name) { return fit_parse_spec(spec, ':', addr_curr, addr, image_name); diff --git a/include/image.h b/include/image.h index a1c6e4e9ad..aa9daa2deb 100644 --- a/include/image.h +++ b/include/image.h @@ -531,9 +531,9 @@ static inline int image_check_target_arch(const image_header_t *hdr) #define FIT_MAX_HASH_LEN 20 /* max(crc32_len(4), sha1_len(20)) */ /* cmdline argument format parsing */ -inline int fit_parse_conf(const char *spec, ulong addr_curr, +int fit_parse_conf(const char *spec, ulong addr_curr, ulong *addr, const char **conf_name); -inline int fit_parse_subimage(const char *spec, ulong addr_curr, +int fit_parse_subimage(const char *spec, ulong addr_curr, ulong *addr, const char **image_name); void fit_print_contents(const void *fit);