summaryrefslogtreecommitdiff
path: root/src/include/asm.h
diff options
context:
space:
mode:
authorAleksa Vučković <aleksav013@gmail.com>2022-01-17 22:00:14 +0100
committerAleksa Vučković <aleksav013@gmail.com>2022-01-17 22:00:14 +0100
commited84017353c6fc9421b223ff6ec62f8d881d8098 (patch)
tree6ca1abfc7daca48010d841572d4eb16cda1b7abf /src/include/asm.h
parent85fdaf22994ead86a43b4880cb4875094612bd72 (diff)
Fixing $(WARNING)s & explicitly declaring function prototypes
Diffstat (limited to 'src/include/asm.h')
-rw-r--r--src/include/asm.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/include/asm.h b/src/include/asm.h
index 9f2a9e6..e57c35b 100644
--- a/src/include/asm.h
+++ b/src/include/asm.h
@@ -1,9 +1,9 @@
-#ifndef ASM_H
-#define ASM_H
+#ifndef SOURCE_ASM_H
+#define SOURCE_ASM_H
#include<types.h>
extern uint8_t ioport_in(uint8_t port);
-extern void ioport_out(uint8_t port, char data);
+extern void ioport_out(uint8_t port, int data);
#endif