X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=api_examples%2Flibgenwrap.c;h=2b62badfb88e32b8162d6410cb7423b2cf404f00;hb=faf8f9bc95e526446c3b0554ebdc22af1291e72a;hp=df62633ca70b40d6d6bcb3ce281269fa4efa22e3;hpb=80adb2761627ec10eb8997bea6c1e52e34816c6b;p=oweals%2Fu-boot.git diff --git a/api_examples/libgenwrap.c b/api_examples/libgenwrap.c index df62633ca7..2b62badfb8 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) ; +}