mirror of
https://github.com/apache/nuttx.git
synced 2025-01-12 22:08:35 +08:00
SDCC detected bugs
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@11 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
808d6e3b33
commit
469b933b63
2 changed files with 4 additions and 3 deletions
|
@ -47,8 +47,6 @@
|
|||
* Definitions
|
||||
************************************************************/
|
||||
|
||||
#define bzero(s,n) memset((s),0,(n))
|
||||
|
||||
/************************************************************
|
||||
* Global Function Prototypes
|
||||
************************************************************/
|
||||
|
|
|
@ -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"
|
||||
;;
|
||||
|
|
Loading…
Reference in a new issue