summaryrefslogtreecommitdiff
path: root/api_examples/libgenwrap.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2008-02-12 00:51:05 +0100
committerWolfgang Denk <wd@denx.de>2008-02-12 00:51:05 +0100
commitac2731f185ee4b7f56998c8f26d181f66fad84f8 (patch)
treee8dd06aa713b9caf8dc3882aaf72d47c48fb9f24 /api_examples/libgenwrap.c
parentc62776be8dca4097ca03d4f9415f08d4887b45d0 (diff)
parent63f732d3d3880feb531f48af247c025bf01462b0 (diff)
downloadu-boot-imx-ac2731f185ee4b7f56998c8f26d181f66fad84f8.zip
u-boot-imx-ac2731f185ee4b7f56998c8f26d181f66fad84f8.tar.gz
u-boot-imx-ac2731f185ee4b7f56998c8f26d181f66fad84f8.tar.bz2
Merge branch 'master' of /home/wd/git/u-boot/custodians
Diffstat (limited to 'api_examples/libgenwrap.c')
-rw-r--r--api_examples/libgenwrap.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/api_examples/libgenwrap.c b/api_examples/libgenwrap.c
index df62633..2b62bad 100644
--- 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) ;
+}