aboutsummaryrefslogtreecommitdiff
path: root/examples/api/libgenwrap.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2020-01-20 12:23:33 -0500
committerTom Rini <trini@konsulko.com>2020-01-20 12:23:33 -0500
commitc7819d409ab7671991bf906482b7adcc21266f75 (patch)
treeeab7a9eba205f31dd1f4b606ec58d64ec5e933f1 /examples/api/libgenwrap.c
parentc8a1198665b81113535e89c791a7991abe481d62 (diff)
parentaddc376318d765902027021d88f693e95d1e1bcd (diff)
Merge branch '2020-01-17-reduce-size-of-common-h-even-more'
- Bring in Simon Glass's series that reduces what we have in <common.h> even more.
Diffstat (limited to 'examples/api/libgenwrap.c')
-rw-r--r--examples/api/libgenwrap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/api/libgenwrap.c b/examples/api/libgenwrap.c
index 67b2d641fc..769dcc7038 100644
--- a/examples/api/libgenwrap.c
+++ b/examples/api/libgenwrap.c
@@ -10,6 +10,7 @@
*/
#include <common.h>
+#include <hang.h>
#include <linux/types.h>
#include <api_public.h>
@@ -41,7 +42,7 @@ void *malloc (size_t len)
return NULL;
}
-void hang (void)
+void hang(void)
{
while (1) ;
}