summaryrefslogtreecommitdiff
path: root/include/bedbug/bedbug.h
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2011-09-10 00:31:11 +0200
committerWolfgang Denk <wd@denx.de>2011-09-10 01:10:19 +0200
commit5ae0dea3e8659a79d0284647341af2bfc349fecf (patch)
treed1d5817be7be79a714cd753812a4e7e909cad6a0 /include/bedbug/bedbug.h
parentd786882db223db2a48071a86af0777002f77c764 (diff)
downloadu-boot-imx-5ae0dea3e8659a79d0284647341af2bfc349fecf.zip
u-boot-imx-5ae0dea3e8659a79d0284647341af2bfc349fecf.tar.gz
u-boot-imx-5ae0dea3e8659a79d0284647341af2bfc349fecf.tar.bz2
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>
Diffstat (limited to 'include/bedbug/bedbug.h')
-rw-r--r--include/bedbug/bedbug.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/bedbug/bedbug.h b/include/bedbug/bedbug.h
index 471215e..0c5d687 100644
--- a/include/bedbug/bedbug.h
+++ b/include/bedbug/bedbug.h
@@ -21,8 +21,6 @@
#endif
#endif
-#define assert( condition ) if( (condition) ) _exit(0)
-
#endif /* _BEDBUG_H */