From 469b933b635f570a707e7ab6c1531cdacb8aa43a Mon Sep 17 00:00:00 2001 From: patacongo Date: Tue, 20 Feb 2007 19:15:03 +0000 Subject: [PATCH] SDCC detected bugs git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@11 42af7a65-404d-4744-a932-0658087f49c3 --- include/string.h | 2 -- tools/mkdeps.sh | 5 ++++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/include/string.h b/include/string.h index da77502fea..e638951882 100644 --- a/include/string.h +++ b/include/string.h @@ -47,8 +47,6 @@ * Definitions ************************************************************/ -#define bzero(s,n) memset((s),0,(n)) - /************************************************************ * Global Function Prototypes ************************************************************/ diff --git a/tools/mkdeps.sh b/tools/mkdeps.sh index 086778fbe4..54ffbb1ee8 100755 --- a/tools/mkdeps.sh +++ b/tools/mkdeps.sh @@ -48,11 +48,14 @@ args= # Accumulate CFLAGS up to "--" for i in $* ; do case $i in - --*) + -- ) cc=$cflags cflags=$args args= ;; + --debug ) + set -x + ;; *) args="$args $i" ;;