summaryrefslogtreecommitdiff
path: root/tools/mkimage.h
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2009-08-19 11:42:56 +0200
committerWolfgang Denk <wd@denx.de>2009-09-10 22:58:48 +0200
commit3a2003f61ee79ac53d20c24cc896c2637a2dfc24 (patch)
treefd336943fac56319b371b3523895b97f4d62ee58 /tools/mkimage.h
parent89a4d6b12fd6394898b8a454cbabeaf1cd59bae5 (diff)
tools/mkimage: fix compiler warnings, use "const"
This fixes some compiler warnings: tools/default_image.c:141: warning: initialization from incompatible pointer type tools/fit_image.c:202: warning: initialization from incompatible pointer type and changes to code to use "const" attributes in a few places where it's appropriate. Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'tools/mkimage.h')
-rw-r--r--tools/mkimage.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/mkimage.h b/tools/mkimage.h
index 120970fc68..96f2ef8f13 100644
--- a/tools/mkimage.h
+++ b/tools/mkimage.h
@@ -104,7 +104,7 @@ struct image_type_params {
*/
int (*verify_header) (unsigned char *, int, struct mkimage_params *);
/* Prints image information abstracting from image header */
- void (*print_header) (void *);
+ void (*print_header) (const void *);
/*
* The header or image contents need to be set as per image type to
* be generated using this callback function.