projects
/
fw
/
sdcc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* device/lib/pic/libdev/Makefile.in: build device-specific
[fw/sdcc]
/
device
/
lib
/
_strcmp.c
diff --git
a/device/lib/_strcmp.c
b/device/lib/_strcmp.c
index eb834161e484c2128b7dab3f7125e964b8dcd0e3..1e06058e7fcad02b1172e03aa934f0bad2aa2273 100644
(file)
--- a/
device/lib/_strcmp.c
+++ b/
device/lib/_strcmp.c
@@
-48,11
+48,6
@@
int strcmp (
while( ! (ret = *(unsigned char *)asrc - *(unsigned char *)adst) && *adst)
++asrc, ++adst;
- if ( ret < 0 )
- ret = -1 ;
- else if ( ret > 0 )
- ret = 1 ;
-
return( ret );
#endif
}