common: Move hang() to the same header as panic()
[oweals/u-boot.git] / lib / zlib / zutil.c
index 227343e48d3fb1305a229ac4b72559bda6351b48..609aac55ce11f015d79f805b29f3c7eec8d014cf 100644 (file)
@@ -6,6 +6,7 @@
 /* @(#) $Id$ */
 
 #include "zutil.h"
+#include <hang.h>
 
 #ifndef NO_DUMMY_DECL
 struct internal_state      {int dummy;}; /* for buggy compilers */
@@ -34,7 +35,7 @@ void z_error (m)
     char *m;
 {
        fprintf(stderr, "%s\n", m);
-       hang ();
+       hang();
 }
 #endif