From c7ea5224fe5318b2d6ef68b463ac4b72817904ba Mon Sep 17 00:00:00 2001 From: patacongo Date: Tue, 20 Feb 2007 19:15:03 +0000 Subject: SDCC detected bugs git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@11 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/include/string.h | 2 -- nuttx/tools/mkdeps.sh | 5 ++++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/nuttx/include/string.h b/nuttx/include/string.h index da77502fe..e63895188 100644 --- a/nuttx/include/string.h +++ b/nuttx/include/string.h @@ -47,8 +47,6 @@ * Definitions ************************************************************/ -#define bzero(s,n) memset((s),0,(n)) - /************************************************************ * Global Function Prototypes ************************************************************/ diff --git a/nuttx/tools/mkdeps.sh b/nuttx/tools/mkdeps.sh index 086778fbe..54ffbb1ee 100755 --- a/nuttx/tools/mkdeps.sh +++ b/nuttx/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" ;; -- cgit v1.2.3