fixed header guard names
made them more standard compliant
diff --git a/common/compress/gzip.h b/common/compress/gzip.h
index ce9e6a24..f6e232ac 100644
--- a/common/compress/gzip.h
+++ b/common/compress/gzip.h
@@ -1,5 +1,5 @@
-#ifndef __COMPRESS__GZIP_H__
-#define __COMPRESS__GZIP_H__
+#ifndef COMPRESS__GZIP_H__
+#define COMPRESS__GZIP_H__
#include <stdint.h>
diff --git a/common/console.h b/common/console.h
index 4ea97c71..9c6618ca 100644
--- a/common/console.h
+++ b/common/console.h
@@ -1,5 +1,5 @@
-#ifndef __CONSOLE_H__
-#define __CONSOLE_H__
+#ifndef CONSOLE_H__
+#define CONSOLE_H__
void console(void);
diff --git a/common/crypt/blake2b.h b/common/crypt/blake2b.h
index 038c86fa..313a7c63 100644
--- a/common/crypt/blake2b.h
+++ b/common/crypt/blake2b.h
@@ -1,5 +1,5 @@
-#ifndef __CRYPT__BLAKE2B_H__
-#define __CRYPT__BLAKE2B_H__
+#ifndef CRYPT__BLAKE2B_H__
+#define CRYPT__BLAKE2B_H__
#include <stddef.h>
diff --git a/common/drivers/disk.h b/common/drivers/disk.h
index b551c480..bb3e83eb 100644
--- a/common/drivers/disk.h
+++ b/common/drivers/disk.h
@@ -1,5 +1,5 @@
-#ifndef __DRIVERS__DISK_H__
-#define __DRIVERS__DISK_H__
+#ifndef DRIVERS__DISK_H__
+#define DRIVERS__DISK_H__
#include <stdint.h>
#include <stddef.h>
diff --git a/common/drivers/edid.h b/common/drivers/edid.h
index ad19ebac..81599ea5 100644
--- a/common/drivers/edid.h
+++ b/common/drivers/edid.h
@@ -1,5 +1,5 @@
-#ifndef __DRIVERS__EDID_H__
-#define __DRIVERS__EDID_H__
+#ifndef DRIVERS__EDID_H__
+#define DRIVERS__EDID_H__
#include <stdint.h>
diff --git a/common/drivers/gop.h b/common/drivers/gop.h
index 100c6bcf..24a463ab 100644
--- a/common/drivers/gop.h
+++ b/common/drivers/gop.h
@@ -1,5 +1,5 @@
-#ifndef __DRIVERS__GOP_H__
-#define __DRIVERS__GOP_H__
+#ifndef DRIVERS__GOP_H__
+#define DRIVERS__GOP_H__
#if defined (UEFI)
diff --git a/common/drivers/serial.h b/common/drivers/serial.h
index af783298..882f0563 100644
--- a/common/drivers/serial.h
+++ b/common/drivers/serial.h
@@ -1,5 +1,5 @@
-#ifndef __DRIVERS__SERIAL_H__
-#define __DRIVERS__SERIAL_H__
+#ifndef DRIVERS__SERIAL_H__
+#define DRIVERS__SERIAL_H__
#if defined (BIOS)
diff --git a/common/drivers/vbe.h b/common/drivers/vbe.h
index 37b5e234..f5da1f88 100644
--- a/common/drivers/vbe.h
+++ b/common/drivers/vbe.h
@@ -1,5 +1,5 @@
-#ifndef __DRIVERS__VBE_H__
-#define __DRIVERS__VBE_H__
+#ifndef DRIVERS__VBE_H__
+#define DRIVERS__VBE_H__
#include <stdint.h>
#include <stddef.h>
diff --git a/common/drivers/vga_textmode.h b/common/drivers/vga_textmode.h
index 33b4179a..f5dcfa52 100644
--- a/common/drivers/vga_textmode.h
+++ b/common/drivers/vga_textmode.h
@@ -1,5 +1,5 @@
-#ifndef __DRIVERS__VGA_TEXTMODE_H__
-#define __DRIVERS__VGA_TEXTMODE_H__
+#ifndef DRIVERS__VGA_TEXTMODE_H__
+#define DRIVERS__VGA_TEXTMODE_H__
#if defined (BIOS)
diff --git a/common/fs/fat32.h b/common/fs/fat32.h
index 3c9dee45..0b6b89eb 100644
--- a/common/fs/fat32.h
+++ b/common/fs/fat32.h
@@ -1,5 +1,5 @@
-#ifndef __FS__FAT32_H__
-#define __FS__FAT32_H__
+#ifndef FS__FAT32_H__
+#define FS__FAT32_H__
#include <lib/part.h>
#include <fs/file.h>
diff --git a/common/fs/file.h b/common/fs/file.h
index 155b47df..edfda32c 100644
--- a/common/fs/file.h
+++ b/common/fs/file.h
@@ -1,5 +1,5 @@
-#ifndef __FS__FILE_H__
-#define __FS__FILE_H__
+#ifndef FS__FILE_H__
+#define FS__FILE_H__
#include <stdint.h>
#include <stddef.h>
diff --git a/common/fs/iso9660.h b/common/fs/iso9660.h
index acca7455..6ab6d266 100644
--- a/common/fs/iso9660.h
+++ b/common/fs/iso9660.h
@@ -1,5 +1,5 @@
-#ifndef __FS__ISO9660_H__
-#define __FS__ISO9660_H__
+#ifndef FS__ISO9660_H__
+#define FS__ISO9660_H__
#include <stdint.h>
#include <lib/part.h>
diff --git a/common/lib/acpi.h b/common/lib/acpi.h
index 8d29a7df..695c9b14 100644
--- a/common/lib/acpi.h
+++ b/common/lib/acpi.h
@@ -1,5 +1,5 @@
-#ifndef __LIB__ACPI_H__
-#define __LIB__ACPI_H__
+#ifndef LIB__ACPI_H__
+#define LIB__ACPI_H__
#include <stdint.h>
#include <stddef.h>
diff --git a/common/lib/config.h b/common/lib/config.h
index 5edda9b0..d323aa06 100644
--- a/common/lib/config.h
+++ b/common/lib/config.h
@@ -1,5 +1,5 @@
-#ifndef __LIB__CONFIG_H__
-#define __LIB__CONFIG_H__
+#ifndef LIB__CONFIG_H__
+#define LIB__CONFIG_H__
#include <stddef.h>
#include <stdbool.h>
diff --git a/common/lib/elf.h b/common/lib/elf.h
index 8cf1a3b6..3a8cb33c 100644
--- a/common/lib/elf.h
+++ b/common/lib/elf.h
@@ -1,5 +1,5 @@
-#ifndef __LIB__ELF_H__
-#define __LIB__ELF_H__
+#ifndef LIB__ELF_H__
+#define LIB__ELF_H__
#include <stdint.h>
#include <stdbool.h>
diff --git a/common/lib/elsewhere.h b/common/lib/elsewhere.h
index c61f1bfb..99e14329 100644
--- a/common/lib/elsewhere.h
+++ b/common/lib/elsewhere.h
@@ -1,5 +1,5 @@
-#ifndef __LIB__ELSEWHERE_H__
-#define __LIB__ELSEWHERE_H__
+#ifndef LIB__ELSEWHERE_H__
+#define LIB__ELSEWHERE_H__
#include <stdint.h>
#include <stddef.h>
diff --git a/common/lib/fb.h b/common/lib/fb.h
index 61f914fa..79542d61 100644
--- a/common/lib/fb.h
+++ b/common/lib/fb.h
@@ -1,5 +1,5 @@
-#ifndef __LIB__FB_H__
-#define __LIB__FB_H__
+#ifndef LIB__FB_H__
+#define LIB__FB_H__
#include <stdint.h>
#include <stddef.h>
diff --git a/common/lib/gterm.h b/common/lib/gterm.h
index 891aea68..ec579dc4 100644
--- a/common/lib/gterm.h
+++ b/common/lib/gterm.h
@@ -1,5 +1,5 @@
-#ifndef __LIB__GTERM_H__
-#define __LIB__GTERM_H__
+#ifndef LIB__GTERM_H__
+#define LIB__GTERM_H__
#include <stddef.h>
#include <stdbool.h>
diff --git a/common/lib/guid.h b/common/lib/guid.h
index a4ce1557..c360e88e 100644
--- a/common/lib/guid.h
+++ b/common/lib/guid.h
@@ -1,5 +1,5 @@
-#ifndef __LIB__GUID_H__
-#define __LIB__GUID_H__
+#ifndef LIB__GUID_H__
+#define LIB__GUID_H__
#include <stdint.h>
#include <stdbool.h>
diff --git a/common/lib/image.h b/common/lib/image.h
index 055c79eb..507fa1d3 100644
--- a/common/lib/image.h
+++ b/common/lib/image.h
@@ -1,5 +1,5 @@
-#ifndef __LIB__IMAGE_H__
-#define __LIB__IMAGE_H__
+#ifndef LIB__IMAGE_H__
+#define LIB__IMAGE_H__
#include <stdint.h>
#include <fs/file.h>
diff --git a/common/lib/libc.h b/common/lib/libc.h
index 551d91a1..57e0d39e 100644
--- a/common/lib/libc.h
+++ b/common/lib/libc.h
@@ -1,5 +1,5 @@
-#ifndef __LIB__LIBC_H__
-#define __LIB__LIBC_H__
+#ifndef LIB__LIBC_H__
+#define LIB__LIBC_H__
#include <stddef.h>
#include <stdbool.h>
diff --git a/common/lib/misc.h b/common/lib/misc.h
index 495c7984..54989f43 100644
--- a/common/lib/misc.h
+++ b/common/lib/misc.h
@@ -1,5 +1,5 @@
-#ifndef __LIB__MISC_H__
-#define __LIB__MISC_H__
+#ifndef LIB__MISC_H__
+#define LIB__MISC_H__
#include <stddef.h>
#include <stdint.h>
diff --git a/common/lib/part.h b/common/lib/part.h
index 37c08954..7a2073cd 100644
--- a/common/lib/part.h
+++ b/common/lib/part.h
@@ -1,5 +1,5 @@
-#ifndef __LIB__PART_H__
-#define __LIB__PART_H__
+#ifndef LIB__PART_H__
+#define LIB__PART_H__
#include <stdint.h>
#include <stddef.h>
diff --git a/common/lib/print.h b/common/lib/print.h
index 30012338..a5e9a99c 100644
--- a/common/lib/print.h
+++ b/common/lib/print.h
@@ -1,5 +1,5 @@
-#ifndef __LIB__PRINT_H__
-#define __LIB__PRINT_H__
+#ifndef LIB__PRINT_H__
+#define LIB__PRINT_H__
#include <stdarg.h>
#include <stdbool.h>
diff --git a/common/lib/rand.h b/common/lib/rand.h
index 75764d29..ff259f57 100644
--- a/common/lib/rand.h
+++ b/common/lib/rand.h
@@ -1,5 +1,5 @@
-#ifndef __LIB__RAND_H__
-#define __LIB__RAND_H__
+#ifndef LIB__RAND_H__
+#define LIB__RAND_H__
#include <stdint.h>
diff --git a/common/lib/readline.h b/common/lib/readline.h
index d354e94c..80a3397a 100644
--- a/common/lib/readline.h
+++ b/common/lib/readline.h
@@ -1,5 +1,5 @@
-#ifndef __LIB__READLINE_H__
-#define __LIB__READLINE_H__
+#ifndef LIB__READLINE_H__
+#define LIB__READLINE_H__
#include <stddef.h>
diff --git a/common/lib/real.h b/common/lib/real.h
index 07f20eab..7ed1fcac 100644
--- a/common/lib/real.h
+++ b/common/lib/real.h
@@ -1,5 +1,5 @@
-#ifndef __LIB__REAL_H__
-#define __LIB__REAL_H__
+#ifndef LIB__REAL_H__
+#define LIB__REAL_H__
#include <stdint.h>
#include <stdnoreturn.h>
diff --git a/common/lib/term.h b/common/lib/term.h
index 9f28c7d8..0754ae20 100644
--- a/common/lib/term.h
+++ b/common/lib/term.h
@@ -1,5 +1,5 @@
-#ifndef __LIB__TERM_H__
-#define __LIB__TERM_H__
+#ifndef LIB__TERM_H__
+#define LIB__TERM_H__
#include <stddef.h>
#include <stdint.h>
diff --git a/common/lib/time.h b/common/lib/time.h
index 60da1a3d..b59b1fa8 100644
--- a/common/lib/time.h
+++ b/common/lib/time.h
@@ -1,5 +1,5 @@
-#ifndef __LIB__TIME_H__
-#define __LIB__TIME_H__
+#ifndef LIB__TIME_H__
+#define LIB__TIME_H__
#include <stdint.h>
diff --git a/common/lib/trace.h b/common/lib/trace.h
index 9289e491..9c3f3bb5 100644
--- a/common/lib/trace.h
+++ b/common/lib/trace.h
@@ -1,5 +1,5 @@
-#ifndef __LIB__TRACE_H__
-#define __LIB__TRACE_H__
+#ifndef LIB__TRACE_H__
+#define LIB__TRACE_H__
#include <stddef.h>
diff --git a/common/lib/uri.h b/common/lib/uri.h
index 4f15907a..d15a5494 100644
--- a/common/lib/uri.h
+++ b/common/lib/uri.h
@@ -1,5 +1,5 @@
-#ifndef __LIB__URI_H__
-#define __LIB__URI_H__
+#ifndef LIB__URI_H__
+#define LIB__URI_H__
#include <stdbool.h>
#include <fs/file.h>
diff --git a/common/menu.h b/common/menu.h
index e23094b3..2e215531 100644
--- a/common/menu.h
+++ b/common/menu.h
@@ -1,5 +1,5 @@
-#ifndef __MENU_H__
-#define __MENU_H__
+#ifndef MENU_H__
+#define MENU_H__
#include <stdbool.h>
#include <stdnoreturn.h>
diff --git a/common/mm/mtrr.h b/common/mm/mtrr.h
index 80428693..9cead124 100644
--- a/common/mm/mtrr.h
+++ b/common/mm/mtrr.h
@@ -1,5 +1,5 @@
-#ifndef __MM__MTRR_H__
-#define __MM__MTRR_H__
+#ifndef MM__MTRR_H__
+#define MM__MTRR_H__
#if defined (__x86_64__) || defined (__i386__)
diff --git a/common/mm/pmm.h b/common/mm/pmm.h
index 997be105..c27e6a9f 100644
--- a/common/mm/pmm.h
+++ b/common/mm/pmm.h
@@ -1,5 +1,5 @@
-#ifndef __MM__PMM_H__
-#define __MM__PMM_H__
+#ifndef MM__PMM_H__
+#define MM__PMM_H__
#include <stdint.h>
#include <stddef.h>
diff --git a/common/mm/vmm.h b/common/mm/vmm.h
index 20bd5765..c7023586 100644
--- a/common/mm/vmm.h
+++ b/common/mm/vmm.h
@@ -1,5 +1,5 @@
-#ifndef __MM__VMM_H__
-#define __MM__VMM_H__
+#ifndef MM__VMM_H__
+#define MM__VMM_H__
#include <stdint.h>
#include <stdbool.h>
diff --git a/common/protos/chainload.h b/common/protos/chainload.h
index cb0bce69..80f6e74f 100644
--- a/common/protos/chainload.h
+++ b/common/protos/chainload.h
@@ -1,5 +1,5 @@
-#ifndef __PROTOS__CHAINLOAD_H__
-#define __PROTOS__CHAINLOAD_H__
+#ifndef PROTOS__CHAINLOAD_H__
+#define PROTOS__CHAINLOAD_H__
#include <stdnoreturn.h>
diff --git a/common/protos/chainload_next.h b/common/protos/chainload_next.h
index 2f4a4e26..4152857f 100644
--- a/common/protos/chainload_next.h
+++ b/common/protos/chainload_next.h
@@ -1,5 +1,5 @@
-#ifndef __PROTOS__CHAINLOAD_NEXT_H__
-#define __PROTOS__CHAINLOAD_NEXT_H__
+#ifndef PROTOS__CHAINLOAD_NEXT_H__
+#define PROTOS__CHAINLOAD_NEXT_H__
#include <stdnoreturn.h>
diff --git a/common/protos/limine.h b/common/protos/limine.h
index 82783473..54cd7883 100644
--- a/common/protos/limine.h
+++ b/common/protos/limine.h
@@ -1,5 +1,5 @@
-#ifndef __PROTOS__LIMINE_H__
-#define __PROTOS__LIMINE_H__
+#ifndef PROTOS__LIMINE_H__
+#define PROTOS__LIMINE_H__
#include <stdnoreturn.h>
diff --git a/common/protos/linux.h b/common/protos/linux.h
index 4c8ef103..03de0d8a 100644
--- a/common/protos/linux.h
+++ b/common/protos/linux.h
@@ -1,5 +1,5 @@
-#ifndef __PROTOS__LINUX_H__
-#define __PROTOS__LINUX_H__
+#ifndef PROTOS__LINUX_H__
+#define PROTOS__LINUX_H__
#include <stdnoreturn.h>
diff --git a/common/protos/multiboot.h b/common/protos/multiboot.h
index b595caac..00def66a 100644
--- a/common/protos/multiboot.h
+++ b/common/protos/multiboot.h
@@ -1,5 +1,5 @@
-#ifndef __PROTOS__MULTIBOOT_H__
-#define __PROTOS__MULTIBOOT_H__
+#ifndef PROTOS__MULTIBOOT_H__
+#define PROTOS__MULTIBOOT_H__
#include <stdint.h>
#include <lib/misc.h>
diff --git a/common/protos/multiboot1.h b/common/protos/multiboot1.h
index b35fb33b..a93cd993 100644
--- a/common/protos/multiboot1.h
+++ b/common/protos/multiboot1.h
@@ -1,5 +1,5 @@
-#ifndef __PROTOS__MULTIBOOT1_H__
-#define __PROTOS__MULTIBOOT1_H__
+#ifndef PROTOS__MULTIBOOT1_H__
+#define PROTOS__MULTIBOOT1_H__
#include <stdint.h>
#include <stddef.h>
diff --git a/common/protos/multiboot2.h b/common/protos/multiboot2.h
index 87b6e9f9..1965a7f2 100644
--- a/common/protos/multiboot2.h
+++ b/common/protos/multiboot2.h
@@ -19,8 +19,8 @@
* IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
-#ifndef __PROTOS__MULTIBOOT2_H__
-#define __PROTOS__MULTIBOOT2_H__
+#ifndef PROTOS__MULTIBOOT2_H__
+#define PROTOS__MULTIBOOT2_H__
#include <stdint.h>
#include <stdnoreturn.h>
diff --git a/common/sys/a20.h b/common/sys/a20.h
index 29fd9e32..8e320b57 100644
--- a/common/sys/a20.h
+++ b/common/sys/a20.h
@@ -1,5 +1,5 @@
-#ifndef __SYS__A20_H__
-#define __SYS__A20_H__
+#ifndef SYS__A20_H__
+#define SYS__A20_H__
#include <stdbool.h>
diff --git a/common/sys/cpu.h b/common/sys/cpu.h
index bd8609dd..65b42bfc 100644
--- a/common/sys/cpu.h
+++ b/common/sys/cpu.h
@@ -1,5 +1,5 @@
-#ifndef __SYS__CPU_H__
-#define __SYS__CPU_H__
+#ifndef SYS__CPU_H__
+#define SYS__CPU_H__
#include <stdint.h>
#include <stddef.h>
diff --git a/common/sys/e820.h b/common/sys/e820.h
index 38573aa3..b9086257 100644
--- a/common/sys/e820.h
+++ b/common/sys/e820.h
@@ -1,5 +1,5 @@
-#ifndef __SYS__E820_H__
-#define __SYS__E820_H__
+#ifndef SYS__E820_H__
+#define SYS__E820_H__
#include <stdint.h>
#include <stddef.h>
diff --git a/common/sys/gdt.h b/common/sys/gdt.h
index 2297c085..d749baf8 100644
--- a/common/sys/gdt.h
+++ b/common/sys/gdt.h
@@ -1,5 +1,5 @@
-#ifndef __SYS__GDT_H__
-#define __SYS__GDT_H__
+#ifndef SYS__GDT_H__
+#define SYS__GDT_H__
#include <stdint.h>
diff --git a/common/sys/idt.h b/common/sys/idt.h
index fc755cbb..a7691314 100644
--- a/common/sys/idt.h
+++ b/common/sys/idt.h
@@ -1,5 +1,5 @@
-#ifndef __SYS__IDT_H__
-#define __SYS__IDT_H__
+#ifndef SYS__IDT_H__
+#define SYS__IDT_H__
#include <stdint.h>
diff --git a/common/sys/lapic.h b/common/sys/lapic.h
index 992aee98..0f2cbac7 100644
--- a/common/sys/lapic.h
+++ b/common/sys/lapic.h
@@ -1,5 +1,5 @@
-#ifndef __SYS__APIC_H__
-#define __SYS__APIC_H__
+#ifndef SYS__APIC_H__
+#define SYS__APIC_H__
#include <stddef.h>
#include <stdint.h>
diff --git a/common/sys/pic.h b/common/sys/pic.h
index 6810c221..0340724d 100644
--- a/common/sys/pic.h
+++ b/common/sys/pic.h
@@ -1,5 +1,5 @@
-#ifndef __SYS__PIC_H__
-#define __SYS__PIC_H__
+#ifndef SYS__PIC_H__
+#define SYS__PIC_H__
#include <stdbool.h>
diff --git a/common/sys/sbi.h b/common/sys/sbi.h
index 238f8550..ef1fea20 100644
--- a/common/sys/sbi.h
+++ b/common/sys/sbi.h
@@ -1,5 +1,5 @@
-#ifndef __SYS__SBI_H__
-#define __SYS__SBI_H__
+#ifndef SYS__SBI_H__
+#define SYS__SBI_H__
#include <stddef.h>
#include <stdint.h>
diff --git a/common/sys/smp.h b/common/sys/smp.h
index 25387fd7..29960977 100644
--- a/common/sys/smp.h
+++ b/common/sys/smp.h
@@ -1,5 +1,5 @@
-#ifndef __SYS__SMP_H__
-#define __SYS__SMP_H__
+#ifndef SYS__SMP_H__
+#define SYS__SMP_H__
#include <stdint.h>
#include <stddef.h>
