Create a new include file for core-specific definitions, and put it in
the include directory.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
-#include <com32.h>
#include <stddef.h>
-
-void __cdecl core_intcall(uint8_t, const com32sys_t *, com32sys_t *);
-void __cdecl core_farcall(uint32_t, const com32sys_t *, com32sys_t *);
-int __cdecl core_cfarcall(uint32_t, const void *, uint32_t);
+#include "core.h"
void myputchar(int c)
{
--- /dev/null
+#ifndef CORE_H
+#define CORE_H
+
+#include <com32.h>
+
+void __cdecl core_intcall(uint8_t, const com32sys_t *, com32sys_t *);
+void __cdecl core_farcall(uint32_t, const com32sys_t *, com32sys_t *);
+int __cdecl core_cfarcall(uint32_t, const void *, uint32_t);
+
+#endif /* CORE_H */