summaryrefslogtreecommitdiff
path: root/api_examples/libgenwrap.c
diff options
context:
space:
mode:
authorAndy Fleming <[email protected]>2008-02-13 18:36:27 -0600
committerAndrew Fleming-AFLEMING <[email protected]>2008-02-13 18:36:27 -0600
commitd1bcf9e53b41dfa4be6943b739ee82627a0a6d31 (patch)
tree981e6e8d1b9f40e566d97340fcd0c20740cabe78 /api_examples/libgenwrap.c
parented2cf548cac80cd3cf8154dcfe7b2685bef45938 (diff)
parent10bbb38a402a2faf18858c451bcdc63d45888e6e (diff)
Merge branch 'denx'
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 df62633ca70..2b62badfb88 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) ;
+}