Changed header guards to include path to include file (ie. PATH_TO_EXAMPLE_H)

This commit is contained in:
2024-08-16 12:00:12 +02:00
parent a40490d6a8
commit f0edcb0459
22 changed files with 44 additions and 44 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
#ifndef DRIVE_H
#define DRIVE_H
#ifndef DISK_DISK_H
#define DISK_DISK_H
#include <stdint.h>
#include <ports/io.h>
+2 -2
View File
@@ -1,5 +1,5 @@
#ifndef BIGERR_H
#define BIGERR_H
#ifndef ERROR_BIGERR_H
#define ERROR_BIGERR_H
/*
* Something went VERY wrong.
+2 -2
View File
@@ -1,5 +1,5 @@
#ifndef FS_H
#define FS_H
#ifndef FS_FS_H
#define FS_FS_H
/*
* For info, read the fs-spec.txt document inside of docs/
+2 -2
View File
@@ -1,5 +1,5 @@
#ifndef IMPL_H
#define IMPL_H
#ifndef FS_IMPL_H
#define FS_IMPL_H
#include <fs/fs.h>
#include <memory/addresses.h>
+2 -2
View File
@@ -1,5 +1,5 @@
#ifndef ISRS_H
#define ISRS_H
#ifndef INTERRUPT_EXCEPTIONS_H
#define INTERRUPT_EXCEPTIONS_H
#include <interrupt/idt.h>
#include <stdio.h>
+2 -2
View File
@@ -1,5 +1,5 @@
#ifndef IDT_H
#define IDT_H
#ifndef INTERRUPT_IDT_H
#define INTERRUPT_IDT_H
#include <stdint.h>
+2 -2
View File
@@ -1,5 +1,5 @@
#ifndef PIC_H
#define PIC_H
#ifndef INTERRUPT_PIC_H
#define INTERRUPT_PIC_H
#include <ports/io.h>
+2 -2
View File
@@ -1,5 +1,5 @@
#ifndef TIMER_H
#define TIMER_H
#ifndef INTERRUPT_PIT_H
#define INTERRUPT_PIT_H
#include <interrupt/idt.h>
#include <interrupt/pic.h>
+2 -2
View File
@@ -1,5 +1,5 @@
#ifndef RTC_H
#define RTC_H
#ifndef INTERRUPT_RTC_H
#define INTERRUPT_RTC_H
#include <interrupt/pic.h>
#include <interrupt/idt.h>
+2 -2
View File
@@ -1,5 +1,5 @@
#ifndef KEYBOARD_H
#define KEYBOARD_H
#ifndef KEYBOARD_KEYBOARD_H
#define KEYBOARD_KEYBOARD_H
#include <interrupt/idt.h>
#include <interrupt/pic.h>
+2 -2
View File
@@ -1,5 +1,5 @@
#ifndef KEYS_H
#define KEYS_H
#ifndef KEYBOARD_KEYS_H
#define KEYBOARD_KEYS_H
#include <stdbool.h>
+2 -2
View File
@@ -1,5 +1,5 @@
#ifndef ADDRESSES_H
#define ADDRESSES_H
#ifndef MEMORY_ADDRESSES_H
#define MEMORY_ADDRESSES_H
/*
* Memory layout of addresses 0x0000 - 0x12000
+2 -2
View File
@@ -1,5 +1,5 @@
#ifndef MALLOC_H
#define MALLOC_H
#ifndef MEMORY_MALLOC_H
#define MEMORY_MALLOC_H
#include <stdint.h>
#include <memory/virtual.h>
+2 -2
View File
@@ -1,5 +1,5 @@
#ifndef PHYSICAL_MEM_MANAGER_H
#define PHYSICAL_MEM_MANAGER_H
#ifndef MEMORY_PHYSICAL_H
#define MEMORY_PHYSICAL_H
#include <memory/addresses.h>
#include <string.h>
+2 -2
View File
@@ -1,5 +1,5 @@
#ifndef VIRTUAL_H
#define VIRTUAL_H
#ifndef MEMORY_VIRTUAL_H
#define MEMORY_VIRTUAL_H
#include <stdint.h>
#include <memory/physical.h>
+2 -2
View File
@@ -1,5 +1,5 @@
#ifndef SYSTEM_H
#define SYSTEM_H
#ifndef PORTS_IO_H
#define PORTS_IO_H
#include <stdint.h>
+2 -2
View File
@@ -1,5 +1,5 @@
#ifndef GFXMODE_H
#define GFXMODE_H
#ifndef SCREEN_GFXMODE_H
#define SCREEN_GFXMODE_H
#include <memory/addresses.h>
#include <stdint.h>
+2 -2
View File
@@ -1,5 +1,5 @@
#ifndef GRAPHICS_H
#define GRAPHICS_H
#ifndef SCREEN_GRAPHICS_H
#define SCREEN_GRAPHICS_H
#include <stdint.h>
#include <screen/text.h>
+2 -2
View File
@@ -1,5 +1,5 @@
#ifndef SCREEN_H
#define SCREEN_H
#ifndef SCREEN_TEXT_H
#define SCREEN_TEXT_H
#include <terminal/terminal.h>
#include <memory/addresses.h>
+2 -2
View File
@@ -1,5 +1,5 @@
#ifndef NOTES_H
#define NOTES_H
#ifndef SOUND_NOTES_H
#define SOUND_NOTES_H
/*
+2 -2
View File
@@ -1,5 +1,5 @@
#ifndef PCSPK_H
#define PCSPK_H
#ifndef SOUND_PCSPK_H
#define SOUND_PCSPK_H
#include <stdint.h>
#include <sound/notes.h>
+2 -2
View File
@@ -1,5 +1,5 @@
#ifndef TERMINAL_H
#define TERMINAL_H
#ifndef TERMINAL_TERMINAL_H
#define TERMINAL_TERMINAL_H
#include <screen/gfxmode.h>
#include <memory/addresses.h>