removed clang-format and clang_complete files from the repo
[dosdemo] / src / dos / sball.c
index 9b9238a..6261f1b 100644 (file)
@@ -9,13 +9,14 @@
 #endif
 
 #ifdef __DJGPP__
-#include <stdint.h>
 #include <dpmi.h>
 #include <go32.h>
 #include <pc.h>
 #endif
 
 #include "sball.h"
+#include "inttypes.h"
+#include "dosutil.h"
 
 struct motion {
        int x, y, z;
@@ -142,9 +143,6 @@ static void (INTERRUPT *prev_recv_intr)(void);
 #define INTERRUPT
 
 static _go32_dpmi_seginfo intr, prev_intr;
-
-#define outp(port, val)        outportb(port, val)
-#define inp(port) inportb(port)
 #endif
 
 static void INTERRUPT recv_intr(void);