projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
console: unify printing current devices
[oweals/u-boot.git]
/
api_examples
/
libgenwrap.c
diff --git
a/api_examples/libgenwrap.c
b/api_examples/libgenwrap.c
index df62633ca70b40d6d6bcb3ce281269fa4efa22e3..2b62badfb88e32b8162d6410cb7423b2cf404f00 100644
(file)
--- a/
api_examples/libgenwrap.c
+++ b/
api_examples/libgenwrap.c
@@
-84,7
+84,12
@@
void do_reset (void)
ub_reset();
}
-void *malloc(size_t len)
+void *malloc
(size_t len)
{
return NULL;
}
+
+void hang (void)
+{
+ while (1) ;
+}