mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-02 07:31:11 +01:00
Fix warning: "assert" redefined
Commit 21726a7 "Add assert() for debug assertions" caused build
warnings for many systems:
In file included from bedbug.c:6:
/home/wd/git/u-boot/work/include/bedbug/bedbug.h:24:1: warning: "assert" redefined
In file included from bedbug.c:3:
/home/wd/git/u-boot/work/include/common.h:144:1: warning: this is the location of the previous definition
In file included from cmd_bedbug.c:10:
/home/wd/git/u-boot/work/include/bedbug/bedbug.h:24:1: warning: "assert" redefined
In file included from cmd_bedbug.c:5:
/home/wd/git/u-boot/work/include/common.h:144:1: warning: this is the location of the previous definition
Signed-off-by: Wolfgang Denk <wd@denx.de>
Cc: Simon Glass <sjg@chromium.org>
Acked-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
d786882db2
commit
5ae0dea3e8
1 changed files with 0 additions and 2 deletions
|
|
@ -21,8 +21,6 @@
|
|||
#endif
|
||||
#endif
|
||||
|
||||
#define assert( condition ) if( (condition) ) _exit(0)
|
||||
|
||||
#endif /* _BEDBUG_H */
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue