[U-Boot] [PATCH] env_mmc: fix compile warning

Mike Frysinger vapier at gentoo.org
Tue Nov 9 16:04:14 CET 2010


On Monday, November 08, 2010 01:59:48 Lei Wen wrote:
> Signed-off-by: Lei Wen <leiwen at marvell.com>
> ---
>  common/env_mmc.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/common/env_mmc.c b/common/env_mmc.c
> index 3d7fceb..7c9392c 100644
> --- a/common/env_mmc.c
> +++ b/common/env_mmc.c
> @@ -29,6 +29,7 @@
>  #include <linux/stddef.h>
>  #include <malloc.h>
>  #include <mmc.h>
> +#include <search.h>
>  #include <errno.h>

you really need to mention what warning you're fixing.  such as "missing foo() 
prototype" or something.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20101109/660943bc/attachment.pgp 


More information about the U-Boot mailing list