common: Move hang() to the same header as panic()
[oweals/u-boot.git] / examples / api / libgenwrap.c
index 67b2d641fc7c19de09dc15dd78bbf09f554697b7..769dcc7038523b464c6ff0aa0a2b430f042a53cf 100644 (file)
@@ -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) ;
 }