Heinrich Schuchardt e731af4893 efi_loader: correct includes in efi_variable.c
'make tests' on an 32bit ARM system leads to

In file included from ../lib/efi_loader/efi_variable.c:9:
../include/malloc.h:364:7: error: conflicting types for ‘memset’
 void* memset(void*, int, size_t);
       ^~~~~~
In file included from ../include/compiler.h:126,
                 from ../include/env.h:12,
                 from ../lib/efi_loader/efi_variable.c:8:
../include/linux/string.h:103:15:
note: previous declaration of ‘memset’ was here
 extern void * memset(void *,int,__kernel_size_t);
               ^~~~~~
In file included from ../lib/efi_loader/efi_variable.c:9:
../include/malloc.h:365:7: error: conflicting types for ‘memcpy’
 void* memcpy(void*, const void*, size_t);
       ^~~~~~
In file included from ../include/compiler.h:126,
                 from ../include/env.h:12,
                 from ../lib/efi_loader/efi_variable.c:8:
../include/linux/string.h:106:15:
note: previous declaration of ‘memcpy’ was here
 extern void * memcpy(void *,const void *,__kernel_size_t);
               ^~~~~~

Use common.h as first include as recommended by the U-Boot coding style
guide.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
2019-10-30 17:49:41 +01:00
..
2019-04-03 10:26:46 -04:00
2019-09-20 20:09:19 +02:00
2011-01-18 23:38:08 +01:00
2010-09-19 19:29:47 +02:00
2019-07-10 16:52:58 -06:00
2019-10-08 13:57:47 +08:00
2019-07-10 16:52:58 -06:00
2019-08-11 16:43:41 -04:00
2018-06-13 07:49:12 -04:00
2019-02-02 08:19:17 -05:00
2012-04-29 14:14:08 +02:00
2018-09-05 16:02:34 -04:00
2019-08-11 16:43:41 -04:00
2019-06-05 09:16:32 -07:00
2019-06-04 22:09:26 +02:00
2019-02-19 08:55:43 -05:00
2019-08-11 16:43:41 -04:00
2019-05-05 08:48:50 -04:00