Skip to content
  • Wolfgang Denk's avatar
    Fix warning: "assert" redefined · 5ae0dea3
    Wolfgang Denk authored
    Commit 21726a7a
    
     "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: default avatarWolfgang Denk <wd@denx.de>
    Cc: Simon Glass <sjg@chromium.org>
    Acked-by: default avatarSimon Glass <sjg@chromium.org>
    5ae0dea3