1
0
mirror of https://xff.cz/git/u-boot/ synced 2026-01-05 07:36:32 +01:00
Files
u-boot-megous/common
Heinrich Schuchardt 68c0912bf2 hush: re-sequence includes
'make tests' on a 32bit ARM system leads to

In file included from ../common/cli_hush.c:79:
../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 ../common/cli_hush.c:78:
../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 ../common/cli_hush.c:79:
../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 ../common/cli_hush.c:78:
../include/linux/string.h:106:15:
note: previous declaration of ‘memcpy’ was here
 extern void * memcpy(void *,const void *,__kernel_size_t);
        ^~~~~~

According to the U-Boot coding style guide common.h should be the first
include.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
2019-11-07 18:01:13 -05:00
..
2019-08-11 16:43:41 -04:00
2019-11-07 18:01:13 -05:00
2019-07-24 13:16:29 -04:00
2019-08-11 16:43:41 -04:00
2013-04-01 16:33:52 -04:00
2019-08-11 16:43:41 -04:00
2019-08-11 16:43:41 -04:00
2019-08-11 16:43:41 -04:00
2019-11-07 18:01:13 -05:00
2018-09-10 20:20:34 -04:00
2019-08-11 16:43:41 -04:00
2019-08-11 16:43:41 -04:00
2013-04-01 16:33:52 -04:00
2019-08-11 16:43:41 -04:00
2019-08-11 16:43:41 -04:00
2016-02-06 12:00:59 +01:00
2016-05-02 18:37:09 -04:00
2019-08-11 16:43:41 -04:00
2019-07-24 13:16:29 -04:00
2019-08-11 16:43:41 -04:00
2019-08-11 16:43:41 -04:00
2019-08-11 16:43:41 -04:00