commit 3bd7ec257d0f0ff0120607dbea647d1339eda7c7
parent 2d7b6e80bf419bf942f358583c6627e92ee9db3f
Author: iffiloy <iffilopy@gmail.com>
Date: Fri, 2 Oct 2026 06:10:09 +0800
fix guard defs for fns header
Diffstat:
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/dat.h b/dat.h
@@ -1,5 +1,5 @@
-#ifndef dat_h
-#define dat_h
+#ifndef DAT_H
+#define DAT_H
/* vga */
#define VGA_WIDTH 80
@@ -60,4 +60,4 @@ typedef void (*int_handler)();
#define PIT_COMM 0x43
#define PIT_BASE_FREQ 1193182
-#endif /* dat_h */
+#endif /* DAT_H */
diff --git a/fns.h b/fns.h
@@ -1,5 +1,5 @@
-#ifndef fns_h
-#define fns_h
+#ifndef FNS_H
+#define FNS_H
/* input/output ports */
extern void outb(uint16_t port, uint8_t val);
@@ -43,4 +43,4 @@ void idt_init(void);
void pit_init(uint32_t freq);
void pit_sleep(uint32_t ticks_to_wait);
-#endif /* fns_h */
+#endif /* FNS_H */