summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2007-02-20 19:15:03 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2007-02-20 19:15:03 +0000
commitc7ea5224fe5318b2d6ef68b463ac4b72817904ba (patch)
tree720e1b6d6e894eb2782bd1f76bf92ad875d2a57b
parent6625302500bec119659abaa94b0c18605d43c2f9 (diff)
downloadpx4-nuttx-c7ea5224fe5318b2d6ef68b463ac4b72817904ba.tar.gz
px4-nuttx-c7ea5224fe5318b2d6ef68b463ac4b72817904ba.tar.bz2
px4-nuttx-c7ea5224fe5318b2d6ef68b463ac4b72817904ba.zip
SDCC detected bugs
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@11 42af7a65-404d-4744-a932-0658087f49c3
-rw-r--r--nuttx/include/string.h2
-rwxr-xr-xnuttx/tools/mkdeps.sh5
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"
;;