projects
/
my-code
/
arm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
added u32 type
[my-code/arm.git]
/
betty
/
functions.c
diff --git
a/betty/functions.c
b/betty/functions.c
index
732e76f
..
9e12c86
100644
(file)
--- a/
betty/functions.c
+++ b/
betty/functions.c
@@
-52,7
+52,7
@@
int strncpy(char *d,char *s,int n) {
return 0;
}
-int m
set(u8 *d,u8
v,int n) {
+int m
emset(u8 *d,int
v,int n) {
while(n)
d[--n]=v;
@@
-60,9
+60,9
@@
int mset(u8 *d,u8 v,int n) {
return 0;
}
-int mcpy(u8 *d,u8 *s,int n) {
+int m
em
cpy(u8 *d,u8 *s,int n) {
- while(n)
+ while(n
--
)
*d++=*s++;
return n;