projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
common: Move hang() to the same header as panic()
[oweals/u-boot.git]
/
examples
/
api
/
libgenwrap.c
diff --git
a/examples/api/libgenwrap.c
b/examples/api/libgenwrap.c
index 67b2d641fc7c19de09dc15dd78bbf09f554697b7..769dcc7038523b464c6ff0aa0a2b430f042a53cf 100644
(file)
--- 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) ;
}