DEADSOFTWARE

fix some warnings
[flatwaifu.git] / src / misc.h
index 6d4ac768d65b83fa4df470667244eee256a62b8f..dad870a8f6bd4e782ef4f9e3677471fe88837fbd 100644 (file)
@@ -22,6 +22,9 @@
 
 // Miscellaneous functions
 
+#include <stdint.h>
+#include "view.h"
+
 #define MAXDIST 2000000L
 
 enum{
@@ -82,3 +85,6 @@ void Z_gotoxy(int,int);
 int Z_getacid(int x,int y,int r,int h);
 
 void Z_clrst();
+
+int16_t short2host (int16_t x);
+int32_t int2host (int32_t x);