Sign in
qemu
/
u-boot-sam460ex
/
f39236b02b360593f43ca46c590b2695dabefc15
/
.
/
board
/
ACube
/
common
/
misc_utils.c
blob: a6b0652b890b8d5e52dd8557e0511c22b54b8d20 [
file
] [
log
] [
blame
]
#include
"misc_utils.h"
int
atoi
(
const
char
*
string
)
{
int
res
=
0
;
while
(*
string
>=
'0'
&&
*
string
<=
'9'
)
{
res
*=
10
;
res
+=
*
string
-
'0'
;
string
++;
}
return
res
;
}
int
console_changed
=
0
;