diff --git a/kernel/include/sortix/__/dirent.h b/kernel/include/sortix/__/dirent.h index 68afbc25..16b59c97 100644 --- a/kernel/include/sortix/__/dirent.h +++ b/kernel/include/sortix/__/dirent.h @@ -17,8 +17,8 @@ * Format of directory entries. */ -#ifndef INCLUDE_SORTIX____DIRENT_H -#define INCLUDE_SORTIX____DIRENT_H +#ifndef _INCLUDE_SORTIX____DIRENT_H +#define _INCLUDE_SORTIX____DIRENT_H #include diff --git a/kernel/include/sortix/__/sigset.h b/kernel/include/sortix/__/sigset.h index 0795df26..ef0aa33b 100644 --- a/kernel/include/sortix/__/sigset.h +++ b/kernel/include/sortix/__/sigset.h @@ -17,8 +17,8 @@ * Declaration of the sigset_t structure size. */ -#ifndef INCLUDE_SORTIX____SIGSET_H -#define INCLUDE_SORTIX____SIGSET_H +#ifndef _INCLUDE_SORTIX____SIGSET_H +#define _INCLUDE_SORTIX____SIGSET_H #include diff --git a/kernel/include/sortix/__/types.h b/kernel/include/sortix/__/types.h index a27371ff..7119c7f1 100644 --- a/kernel/include/sortix/__/types.h +++ b/kernel/include/sortix/__/types.h @@ -17,8 +17,8 @@ * Data types. */ -#ifndef INCLUDE_SORTIX____TYPES_H -#define INCLUDE_SORTIX____TYPES_H +#ifndef _INCLUDE_SORTIX____TYPES_H +#define _INCLUDE_SORTIX____TYPES_H #include diff --git a/kernel/include/sortix/__/wait.h b/kernel/include/sortix/__/wait.h index 77bdd2e4..7c324a58 100644 --- a/kernel/include/sortix/__/wait.h +++ b/kernel/include/sortix/__/wait.h @@ -17,8 +17,8 @@ * Declarations for waiting for the events of children. */ -#ifndef INCLUDE_SORTIX____WAIT_H -#define INCLUDE_SORTIX____WAIT_H +#ifndef _INCLUDE_SORTIX____WAIT_H +#define _INCLUDE_SORTIX____WAIT_H #include diff --git a/kernel/include/sortix/clock.h b/kernel/include/sortix/clock.h index 4be23342..c2f4b181 100644 --- a/kernel/include/sortix/clock.h +++ b/kernel/include/sortix/clock.h @@ -17,8 +17,8 @@ * Supported logical clock devices. */ -#ifndef INCLUDE_SORTIX_CLOCK_H -#define INCLUDE_SORTIX_CLOCK_H +#ifndef _INCLUDE_SORTIX_CLOCK_H +#define _INCLUDE_SORTIX_CLOCK_H #include diff --git a/kernel/include/sortix/dirent.h b/kernel/include/sortix/dirent.h index c38ea4b2..08d8bfce 100644 --- a/kernel/include/sortix/dirent.h +++ b/kernel/include/sortix/dirent.h @@ -17,8 +17,8 @@ * Format of directory entries. */ -#ifndef INCLUDE_SORTIX_DIRENT_H -#define INCLUDE_SORTIX_DIRENT_H +#ifndef _INCLUDE_SORTIX_DIRENT_H +#define _INCLUDE_SORTIX_DIRENT_H #include diff --git a/kernel/include/sortix/display.h b/kernel/include/sortix/display.h index a479834a..ff80952f 100644 --- a/kernel/include/sortix/display.h +++ b/kernel/include/sortix/display.h @@ -17,8 +17,8 @@ * Display message declarations. */ -#ifndef SORTIX_INCLUDE_DISPLAY_H -#define SORTIX_INCLUDE_DISPLAY_H +#ifndef _INCLUDE_SORTIX_DISPLAY_H +#define _INCLUDE_SORTIX_DISPLAY_H #include diff --git a/kernel/include/sortix/exit.h b/kernel/include/sortix/exit.h index 9132b2c3..e63e39c9 100644 --- a/kernel/include/sortix/exit.h +++ b/kernel/include/sortix/exit.h @@ -17,8 +17,8 @@ * Flags and constants related to process and thread exiting. */ -#ifndef INCLUDE_SORTIX_EXIT_H -#define INCLUDE_SORTIX_EXIT_H +#ifndef _INCLUDE_SORTIX_EXIT_H +#define _INCLUDE_SORTIX_EXIT_H #include diff --git a/kernel/include/sortix/fcntl.h b/kernel/include/sortix/fcntl.h index 5930e11e..a1474760 100644 --- a/kernel/include/sortix/fcntl.h +++ b/kernel/include/sortix/fcntl.h @@ -17,8 +17,8 @@ * Declares various constants related to opening files. */ -#ifndef INCLUDE_SORTIX_FCNTL_H -#define INCLUDE_SORTIX_FCNTL_H +#ifndef _INCLUDE_SORTIX_FCNTL_H +#define _INCLUDE_SORTIX_FCNTL_H #include diff --git a/kernel/include/sortix/fork.h b/kernel/include/sortix/fork.h index f0bc7753..0d651784 100644 --- a/kernel/include/sortix/fork.h +++ b/kernel/include/sortix/fork.h @@ -17,8 +17,8 @@ * Declarations related to the fork family of system calls on Sortix. */ -#ifndef INCLUDE_SORTIX_FORK_H -#define INCLUDE_SORTIX_FORK_H +#ifndef _INCLUDE_SORTIX_FORK_H +#define _INCLUDE_SORTIX_FORK_H #include diff --git a/kernel/include/sortix/futex.h b/kernel/include/sortix/futex.h index 5b7f9886..c2b3d5a4 100644 --- a/kernel/include/sortix/futex.h +++ b/kernel/include/sortix/futex.h @@ -17,8 +17,8 @@ * Fast userspace mutexes. */ -#ifndef INCLUDE_SORTIX_FUTEX_H -#define INCLUDE_SORTIX_FUTEX_H +#ifndef _INCLUDE_SORTIX_FUTEX_H +#define _INCLUDE_SORTIX_FUTEX_H #include diff --git a/kernel/include/sortix/initrd.h b/kernel/include/sortix/initrd.h index e6f7a907..06944d01 100644 --- a/kernel/include/sortix/initrd.h +++ b/kernel/include/sortix/initrd.h @@ -17,8 +17,8 @@ * The Sortix init ramdisk filesystem format. */ -#ifndef INCLUDE_SORTIX_INITRD_H -#define INCLUDE_SORTIX_INITRD_H +#ifndef _INCLUDE_SORTIX_INITRD_H +#define _INCLUDE_SORTIX_INITRD_H #include diff --git a/kernel/include/sortix/ioctl.h b/kernel/include/sortix/ioctl.h index 6d0ee889..26992a52 100644 --- a/kernel/include/sortix/ioctl.h +++ b/kernel/include/sortix/ioctl.h @@ -17,8 +17,8 @@ * Miscellaneous device control interface. */ -#ifndef INCLUDE_SORTIX_IOCTL_H -#define INCLUDE_SORTIX_IOCTL_H +#ifndef _INCLUDE_SORTIX_IOCTL_H +#define _INCLUDE_SORTIX_IOCTL_H #define __IOCTL_TYPE_EXP 3 /* 2^3 kinds of argument types supported.*/ #define __IOCTL_TYPE_MASK ((1 << __IOCTL_TYPE_EXP) - 1) diff --git a/kernel/include/sortix/itimerspec.h b/kernel/include/sortix/itimerspec.h index 6fa591a0..57afd674 100644 --- a/kernel/include/sortix/itimerspec.h +++ b/kernel/include/sortix/itimerspec.h @@ -17,8 +17,8 @@ * Declaration of the itimerspec structure. */ -#ifndef INCLUDE_SORTIX_ITIMERSPEC_H -#define INCLUDE_SORTIX_ITIMERSPEC_H +#ifndef _INCLUDE_SORTIX_ITIMERSPEC_H +#define _INCLUDE_SORTIX_ITIMERSPEC_H #include diff --git a/kernel/include/sortix/kblayout.h b/kernel/include/sortix/kblayout.h index 7bd84d30..d9ae8c48 100644 --- a/kernel/include/sortix/kblayout.h +++ b/kernel/include/sortix/kblayout.h @@ -17,8 +17,8 @@ * Binary data format describing the conversion of scancodes into codepoints. */ -#ifndef INCLUDE_SORTIX_KBLAYOUT_H -#define INCLUDE_SORTIX_KBLAYOUT_H +#ifndef _INCLUDE_SORTIX_KBLAYOUT_H +#define _INCLUDE_SORTIX_KBLAYOUT_H #include diff --git a/kernel/include/sortix/kernel/addralloc.h b/kernel/include/sortix/kernel/addralloc.h index 88c11d45..573d70af 100644 --- a/kernel/include/sortix/kernel/addralloc.h +++ b/kernel/include/sortix/kernel/addralloc.h @@ -17,8 +17,8 @@ * Class to keep track of mount points. */ -#ifndef INCLUDE_SORTIX_KERNEL_ADDRALLOC_H -#define INCLUDE_SORTIX_KERNEL_ADDRALLOC_H +#ifndef _INCLUDE_SORTIX_KERNEL_ADDRALLOC_H +#define _INCLUDE_SORTIX_KERNEL_ADDRALLOC_H #include diff --git a/kernel/include/sortix/kernel/clock.h b/kernel/include/sortix/kernel/clock.h index fd1e1e57..57438fa7 100644 --- a/kernel/include/sortix/kernel/clock.h +++ b/kernel/include/sortix/kernel/clock.h @@ -17,8 +17,8 @@ * A virtual clock that can be measured and waited upon. */ -#ifndef INCLUDE_SORTIX_KERNEL_CLOCK_H -#define INCLUDE_SORTIX_KERNEL_CLOCK_H +#ifndef _INCLUDE_SORTIX_KERNEL_CLOCK_H +#define _INCLUDE_SORTIX_KERNEL_CLOCK_H #include diff --git a/kernel/include/sortix/kernel/copy.h b/kernel/include/sortix/kernel/copy.h index ced4322f..b25c169d 100644 --- a/kernel/include/sortix/kernel/copy.h +++ b/kernel/include/sortix/kernel/copy.h @@ -17,8 +17,8 @@ * The context for io operations: who made it, how should data be copied, etc. */ -#ifndef SORTIX_COPY_H -#define SORTIX_COPY_H +#ifndef _INCLUDE_SORTIX_KERNEL_COPY_H +#define _INCLUDE_SORTIX_KERNEL_COPY_H #include diff --git a/kernel/include/sortix/kernel/cpu.h b/kernel/include/sortix/kernel/cpu.h index 000e1099..f6b9c4cc 100644 --- a/kernel/include/sortix/kernel/cpu.h +++ b/kernel/include/sortix/kernel/cpu.h @@ -17,8 +17,8 @@ * CPU-specific declarations. */ -#ifndef INCLUDE_SORTIX_KERNEL_CPU_H -#define INCLUDE_SORTIX_KERNEL_CPU_H +#ifndef _INCLUDE_SORTIX_KERNEL_CPU_H +#define _INCLUDE_SORTIX_KERNEL_CPU_H #include #include diff --git a/kernel/include/sortix/kernel/cpuid.h b/kernel/include/sortix/kernel/cpuid.h index aa503ed5..0c6200a7 100644 --- a/kernel/include/sortix/kernel/cpuid.h +++ b/kernel/include/sortix/kernel/cpuid.h @@ -17,8 +17,8 @@ * Interface to using the cpuid instruction. */ -#ifndef INCLUDE_SORTIX_KERNEL_CPUID_H -#define INCLUDE_SORTIX_KERNEL_CPUID_H +#ifndef _INCLUDE_SORTIX_KERNEL_CPUID_H +#define _INCLUDE_SORTIX_KERNEL_CPUID_H #include diff --git a/kernel/include/sortix/kernel/decl.h b/kernel/include/sortix/kernel/decl.h index 451a4884..2cf7a764 100644 --- a/kernel/include/sortix/kernel/decl.h +++ b/kernel/include/sortix/kernel/decl.h @@ -18,8 +18,8 @@ * standard headers or at least one with a less generic name than decl.h. */ -#ifndef INCLUDE_SORTIX_KERNEL_DECL_H -#define INCLUDE_SORTIX_KERNEL_DECL_H +#ifndef _INCLUDE_SORTIX_KERNEL_DECL_H +#define _INCLUDE_SORTIX_KERNEL_DECL_H #include diff --git a/kernel/include/sortix/kernel/descriptor.h b/kernel/include/sortix/kernel/descriptor.h index f99a17a0..6a953963 100644 --- a/kernel/include/sortix/kernel/descriptor.h +++ b/kernel/include/sortix/kernel/descriptor.h @@ -17,8 +17,8 @@ * A file descriptor. */ -#ifndef INCLUDE_SORTIX_KERNEL_DESCRIPTOR_H -#define INCLUDE_SORTIX_KERNEL_DESCRIPTOR_H +#ifndef _INCLUDE_SORTIX_KERNEL_DESCRIPTOR_H +#define _INCLUDE_SORTIX_KERNEL_DESCRIPTOR_H #include diff --git a/kernel/include/sortix/kernel/dtable.h b/kernel/include/sortix/kernel/dtable.h index 56e8344d..e1cc5dee 100644 --- a/kernel/include/sortix/kernel/dtable.h +++ b/kernel/include/sortix/kernel/dtable.h @@ -17,8 +17,8 @@ * Table of file descriptors. */ -#ifndef SORTIX_DTABLE_H -#define SORTIX_DTABLE_H +#ifndef _INCLUDE_SORTIX_KERNEL_DTABLE_H +#define _INCLUDE_SORTIX_KERNEL_DTABLE_H #include diff --git a/kernel/include/sortix/kernel/elf.h b/kernel/include/sortix/kernel/elf.h index f8e32058..dc0bf754 100644 --- a/kernel/include/sortix/kernel/elf.h +++ b/kernel/include/sortix/kernel/elf.h @@ -17,8 +17,8 @@ * Executable and Linkable Format. */ -#ifndef INCLUDE_SORTIX_KERNEL_ELF_H -#define INCLUDE_SORTIX_KERNEL_ELF_H +#ifndef _INCLUDE_SORTIX_KERNEL_ELF_H +#define _INCLUDE_SORTIX_KERNEL_ELF_H #include #include diff --git a/kernel/include/sortix/kernel/fcache.h b/kernel/include/sortix/kernel/fcache.h index 2a182022..657fddcb 100644 --- a/kernel/include/sortix/kernel/fcache.h +++ b/kernel/include/sortix/kernel/fcache.h @@ -17,8 +17,8 @@ * Cache mechanism for file contents. */ -#ifndef INCLUDE_SORTIX_KERNEL_FCACHE_H -#define INCLUDE_SORTIX_KERNEL_FCACHE_H +#ifndef _INCLUDE_SORTIX_KERNEL_FCACHE_H +#define _INCLUDE_SORTIX_KERNEL_FCACHE_H #include diff --git a/kernel/include/sortix/kernel/fsfunc.h b/kernel/include/sortix/kernel/fsfunc.h index 47b3dc5a..e185f01c 100644 --- a/kernel/include/sortix/kernel/fsfunc.h +++ b/kernel/include/sortix/kernel/fsfunc.h @@ -17,8 +17,8 @@ * Filesystem related utility functions. */ -#ifndef SORTIX_FSFUNC_H -#define SORTIX_FSFUNC_H +#ifndef _INCLUDE_SORTIX_KERNEL_FSFUNC_H +#define _INCLUDE_SORTIX_KERNEL_FSFUNC_H #include diff --git a/kernel/include/sortix/kernel/harddisk.h b/kernel/include/sortix/kernel/harddisk.h index cbc89a14..1430afca 100644 --- a/kernel/include/sortix/kernel/harddisk.h +++ b/kernel/include/sortix/kernel/harddisk.h @@ -17,8 +17,8 @@ * Harddisk interface. */ -#ifndef INCLUDE_SORTIX_KERNEL_HARDDISK_H -#define INCLUDE_SORTIX_KERNEL_HARDDISK_H +#ifndef _INCLUDE_SORTIX_KERNEL_HARDDISK_H +#define _INCLUDE_SORTIX_KERNEL_HARDDISK_H #include diff --git a/kernel/include/sortix/kernel/inode.h b/kernel/include/sortix/kernel/inode.h index 55dd9ce4..7ad25aa9 100644 --- a/kernel/include/sortix/kernel/inode.h +++ b/kernel/include/sortix/kernel/inode.h @@ -17,8 +17,8 @@ * Interfaces and utility classes for implementing inodes. */ -#ifndef INCLUDE_SORTIX_KERNEL_INODE_H -#define INCLUDE_SORTIX_KERNEL_INODE_H +#ifndef _INCLUDE_SORTIX_KERNEL_INODE_H +#define _INCLUDE_SORTIX_KERNEL_INODE_H #include diff --git a/kernel/include/sortix/kernel/interlock.h b/kernel/include/sortix/kernel/interlock.h index 4fd6aa10..f550e0e5 100644 --- a/kernel/include/sortix/kernel/interlock.h +++ b/kernel/include/sortix/kernel/interlock.h @@ -17,8 +17,8 @@ * Functions that perform non-atomic operations in an atomic manner. */ -#ifndef SORTIX_INTERLOCK_H -#define SORTIX_INTERLOCK_H +#ifndef _INCLUDE_SORTIX_KERNEL_INTERLOCK_H +#define _INCLUDE_SORTIX_KERNEL_INTERLOCK_H namespace Sortix { diff --git a/kernel/include/sortix/kernel/interrupt.h b/kernel/include/sortix/kernel/interrupt.h index fcf1bdf2..b9a1b79f 100644 --- a/kernel/include/sortix/kernel/interrupt.h +++ b/kernel/include/sortix/kernel/interrupt.h @@ -17,8 +17,8 @@ * High level interrupt services. */ -#ifndef INCLUDE_SORTIX_KERNEL_INTERRUPT_H -#define INCLUDE_SORTIX_KERNEL_INTERRUPT_H +#ifndef _INCLUDE_SORTIX_KERNEL_INTERRUPT_H +#define _INCLUDE_SORTIX_KERNEL_INTERRUPT_H #include diff --git a/kernel/include/sortix/kernel/ioctx.h b/kernel/include/sortix/kernel/ioctx.h index 5298cf77..a3ede8e9 100644 --- a/kernel/include/sortix/kernel/ioctx.h +++ b/kernel/include/sortix/kernel/ioctx.h @@ -17,8 +17,8 @@ * The context for io operations: who made it, how should data be copied, etc. */ -#ifndef SORTIX_IOCTX_H -#define SORTIX_IOCTX_H +#ifndef _INCLUDE_SORTIX_KERNEL_IOCTX_H +#define _INCLUDE_SORTIX_KERNEL_IOCTX_H #include diff --git a/kernel/include/sortix/kernel/ioport.h b/kernel/include/sortix/kernel/ioport.h index f82a25b4..33f3018f 100644 --- a/kernel/include/sortix/kernel/ioport.h +++ b/kernel/include/sortix/kernel/ioport.h @@ -17,8 +17,8 @@ * IO ports. */ -#ifndef INCLUDE_SORTIX_KERNEL_IOPORT_H -#define INCLUDE_SORTIX_KERNEL_IOPORT_H +#ifndef _INCLUDE_SORTIX_KERNEL_IOPORT_H +#define _INCLUDE_SORTIX_KERNEL_IOPORT_H #if !(defined(__i386__) || defined(__x86_64__)) #error "This hardware platform doesn't have IO ports" diff --git a/kernel/include/sortix/kernel/kernel.h b/kernel/include/sortix/kernel/kernel.h index 8b60a265..7b18ebed 100644 --- a/kernel/include/sortix/kernel/kernel.h +++ b/kernel/include/sortix/kernel/kernel.h @@ -17,8 +17,8 @@ * Base header for the Sortix kernel that includes common stuff. */ -#ifndef SORTIX_KERNEL_H -#define SORTIX_KERNEL_H +#ifndef _INCLUDE_SORTIX_KERNEL_KERNEL_H +#define _INCLUDE_SORTIX_KERNEL_KERNEL_H #include #include diff --git a/kernel/include/sortix/kernel/keyboard.h b/kernel/include/sortix/kernel/keyboard.h index bf996dc3..e4ba8a82 100644 --- a/kernel/include/sortix/kernel/keyboard.h +++ b/kernel/include/sortix/kernel/keyboard.h @@ -17,8 +17,8 @@ * Various interfaces for keyboard devices and layouts. */ -#ifndef SORTIX_KEYBOARD_H -#define SORTIX_KEYBOARD_H +#ifndef _INCLUDE_SORTIX_KERNEL_KEYBOARD_H +#define _INCLUDE_SORTIX_KERNEL_KEYBOARD_H #include #include diff --git a/kernel/include/sortix/kernel/kthread.h b/kernel/include/sortix/kernel/kthread.h index 59a6b896..0b577987 100644 --- a/kernel/include/sortix/kernel/kthread.h +++ b/kernel/include/sortix/kernel/kthread.h @@ -17,8 +17,8 @@ * Utility and synchronization mechanisms for kernel threads. */ -#ifndef SORTIX_KTHREAD_H -#define SORTIX_KTHREAD_H +#ifndef _INCLUDE_SORTIX_KERNEL_KTHREAD_H +#define _INCLUDE_SORTIX_KERNEL_KTHREAD_H #include diff --git a/kernel/include/sortix/kernel/log.h b/kernel/include/sortix/kernel/log.h index 32a71113..2026782d 100644 --- a/kernel/include/sortix/kernel/log.h +++ b/kernel/include/sortix/kernel/log.h @@ -17,8 +17,8 @@ * A system for logging various messages to the kernel log. */ -#ifndef INCLUDE_SORTIX_KERNEL_LOG_H -#define INCLUDE_SORTIX_KERNEL_LOG_H +#ifndef _INCLUDE_SORTIX_KERNEL_LOG_H +#define _INCLUDE_SORTIX_KERNEL_LOG_H #include #include diff --git a/kernel/include/sortix/kernel/memorymanagement.h b/kernel/include/sortix/kernel/memorymanagement.h index 9e39fa13..5e3d0806 100644 --- a/kernel/include/sortix/kernel/memorymanagement.h +++ b/kernel/include/sortix/kernel/memorymanagement.h @@ -17,8 +17,8 @@ * Functions that allow modification of virtual memory. */ -#ifndef INCLUDE_SORTIX_KERNEL_MEMORYMANAGEMENT_H -#define INCLUDE_SORTIX_KERNEL_MEMORYMANAGEMENT_H +#ifndef _INCLUDE_SORTIX_KERNEL_MEMORYMANAGEMENT_H +#define _INCLUDE_SORTIX_KERNEL_MEMORYMANAGEMENT_H #include #include diff --git a/kernel/include/sortix/kernel/mtable.h b/kernel/include/sortix/kernel/mtable.h index a8e9f3e1..e56fe7d2 100644 --- a/kernel/include/sortix/kernel/mtable.h +++ b/kernel/include/sortix/kernel/mtable.h @@ -17,8 +17,8 @@ * Class to keep track of mount points. */ -#ifndef SORTIX_MTABLE_H -#define SORTIX_MTABLE_H +#ifndef _INCLUDE_SORTIX_KERNEL_MTABLE_H +#define _INCLUDE_SORTIX_KERNEL_MTABLE_H #include diff --git a/kernel/include/sortix/kernel/panic.h b/kernel/include/sortix/kernel/panic.h index b254e399..0634c257 100644 --- a/kernel/include/sortix/kernel/panic.h +++ b/kernel/include/sortix/kernel/panic.h @@ -17,8 +17,8 @@ * Displays an error whenever something critical happens. */ -#ifndef INCLUDE_SORTIX_KERNEL_PANIC_H -#define INCLUDE_SORTIX_KERNEL_PANIC_H +#ifndef _INCLUDE_SORTIX_KERNEL_PANIC_H +#define _INCLUDE_SORTIX_KERNEL_PANIC_H namespace Sortix { diff --git a/kernel/include/sortix/kernel/pat.h b/kernel/include/sortix/kernel/pat.h index 413f5f7b..42397a54 100644 --- a/kernel/include/sortix/kernel/pat.h +++ b/kernel/include/sortix/kernel/pat.h @@ -17,8 +17,8 @@ * PAT feature. */ -#ifndef INCLUDE_SORTIX_KERNEL_PAT_H -#define INCLUDE_SORTIX_KERNEL_PAT_H +#ifndef _INCLUDE_SORTIX_KERNEL_PAT_H +#define _INCLUDE_SORTIX_KERNEL_PAT_H namespace Sortix { diff --git a/kernel/include/sortix/kernel/pci-mmio.h b/kernel/include/sortix/kernel/pci-mmio.h index ef635bc5..88c08787 100644 --- a/kernel/include/sortix/kernel/pci-mmio.h +++ b/kernel/include/sortix/kernel/pci-mmio.h @@ -17,8 +17,8 @@ * Functions for handling PCI devices. */ -#ifndef INCLUDE_SORTIX_KERNEL_PCI_MMIO_H -#define INCLUDE_SORTIX_KERNEL_PCI_MMIO_H +#ifndef _INCLUDE_SORTIX_KERNEL_PCI_MMIO_H +#define _INCLUDE_SORTIX_KERNEL_PCI_MMIO_H #include #include diff --git a/kernel/include/sortix/kernel/pci.h b/kernel/include/sortix/kernel/pci.h index 1fd767d0..376ff029 100644 --- a/kernel/include/sortix/kernel/pci.h +++ b/kernel/include/sortix/kernel/pci.h @@ -17,8 +17,8 @@ * Functions for handling PCI devices. */ -#ifndef SORTIX_PCI_H -#define SORTIX_PCI_H +#ifndef _INCLUDE_SORTIX_KERNEL_PCI_H +#define _INCLUDE_SORTIX_KERNEL_PCI_H #include #include diff --git a/kernel/include/sortix/kernel/pipe.h b/kernel/include/sortix/kernel/pipe.h index 54c385cf..8b3e7bde 100644 --- a/kernel/include/sortix/kernel/pipe.h +++ b/kernel/include/sortix/kernel/pipe.h @@ -17,8 +17,8 @@ * Embeddedable one-way data stream. */ -#ifndef INCLUDE_SORTIX_KERNEL_PIPE_H -#define INCLUDE_SORTIX_KERNEL_PIPE_H +#ifndef _INCLUDE_SORTIX_KERNEL_PIPE_H +#define _INCLUDE_SORTIX_KERNEL_PIPE_H #include diff --git a/kernel/include/sortix/kernel/poll.h b/kernel/include/sortix/kernel/poll.h index 25831591..7deadebf 100644 --- a/kernel/include/sortix/kernel/poll.h +++ b/kernel/include/sortix/kernel/poll.h @@ -17,8 +17,8 @@ * Kernel declarations for event polling. */ -#ifndef INCLUDE_SORTIX_KERNEL_POLL_H -#define INCLUDE_SORTIX_KERNEL_POLL_H +#ifndef _INCLUDE_SORTIX_KERNEL_POLL_H +#define _INCLUDE_SORTIX_KERNEL_POLL_H #include diff --git a/kernel/include/sortix/kernel/process.h b/kernel/include/sortix/kernel/process.h index 70ec1edc..e5919234 100644 --- a/kernel/include/sortix/kernel/process.h +++ b/kernel/include/sortix/kernel/process.h @@ -17,8 +17,8 @@ * A named collection of threads. */ -#ifndef INCLUDE_SORTIX_KERNEL_PROCESS_H -#define INCLUDE_SORTIX_KERNEL_PROCESS_H +#ifndef _INCLUDE_SORTIX_KERNEL_PROCESS_H +#define _INCLUDE_SORTIX_KERNEL_PROCESS_H #include #include diff --git a/kernel/include/sortix/kernel/ps2.h b/kernel/include/sortix/kernel/ps2.h index 3bf48907..f7d9051a 100644 --- a/kernel/include/sortix/kernel/ps2.h +++ b/kernel/include/sortix/kernel/ps2.h @@ -17,8 +17,8 @@ * Various interfaces for keyboard devices and layouts. */ -#ifndef INCLUDE_SORTIX_KERNEL_PS2_H -#define INCLUDE_SORTIX_KERNEL_PS2_H +#ifndef _INCLUDE_SORTIX_KERNEL_PS2_H +#define _INCLUDE_SORTIX_KERNEL_PS2_H #include diff --git a/kernel/include/sortix/kernel/ptable.h b/kernel/include/sortix/kernel/ptable.h index d38fb9de..c1cf94a1 100644 --- a/kernel/include/sortix/kernel/ptable.h +++ b/kernel/include/sortix/kernel/ptable.h @@ -17,8 +17,8 @@ * Process table. */ -#ifndef INCLUDE_SORTIX_KERNEl_PTABLE_H -#define INCLUDE_SORTIX_KERNEl_PTABLE_H +#ifndef _INCLUDE_SORTIX_KERNEL_PTABLE_H +#define _INCLUDE_SORTIX_KERNEL_PTABLE_H #include diff --git a/kernel/include/sortix/kernel/random.h b/kernel/include/sortix/kernel/random.h index c7656441..67a9cc9b 100644 --- a/kernel/include/sortix/kernel/random.h +++ b/kernel/include/sortix/kernel/random.h @@ -17,8 +17,8 @@ * Kernel entropy gathering. */ -#ifndef INCLUDE_SORTIX_KERNEL_RANDOM_H -#define INCLUDE_SORTIX_KERNEL_RANDOM_H +#ifndef _INCLUDE_SORTIX_KERNEL_RANDOM_H +#define _INCLUDE_SORTIX_KERNEL_RANDOM_H #include diff --git a/kernel/include/sortix/kernel/refcount.h b/kernel/include/sortix/kernel/refcount.h index eebb93fa..5c8b560e 100644 --- a/kernel/include/sortix/kernel/refcount.h +++ b/kernel/include/sortix/kernel/refcount.h @@ -17,8 +17,8 @@ * A class that implements reference counting. */ -#ifndef SORTIX_REFCOUNT_H -#define SORTIX_REFCOUNT_H +#ifndef _INCLUDE_SORTIX_KERNEL_REFCOUNT_H +#define _INCLUDE_SORTIX_KERNEL_REFCOUNT_H #include diff --git a/kernel/include/sortix/kernel/registers.h b/kernel/include/sortix/kernel/registers.h index 41fd8136..8b5991e8 100644 --- a/kernel/include/sortix/kernel/registers.h +++ b/kernel/include/sortix/kernel/registers.h @@ -17,8 +17,8 @@ * Register structures and platform-specific bits. */ -#ifndef INCLUDE_SORTIX_KERNEL_REGISTERS_H -#define INCLUDE_SORTIX_KERNEL_REGISTERS_H +#ifndef _INCLUDE_SORTIX_KERNEL_REGISTERS_H +#define _INCLUDE_SORTIX_KERNEL_REGISTERS_H #include #include diff --git a/kernel/include/sortix/kernel/scheduler.h b/kernel/include/sortix/kernel/scheduler.h index 139bd310..644d1301 100644 --- a/kernel/include/sortix/kernel/scheduler.h +++ b/kernel/include/sortix/kernel/scheduler.h @@ -17,8 +17,8 @@ * Decides the order to execute threads in and switching between them. */ -#ifndef INCLUDE_SORTIX_KERNEL_SCHEDULER_H -#define INCLUDE_SORTIX_KERNEL_SCHEDULER_H +#ifndef _INCLUDE_SORTIX_KERNEL_SCHEDULER_H +#define _INCLUDE_SORTIX_KERNEL_SCHEDULER_H #include #include diff --git a/kernel/include/sortix/kernel/segment.h b/kernel/include/sortix/kernel/segment.h index 7b05cf3b..768f5a61 100644 --- a/kernel/include/sortix/kernel/segment.h +++ b/kernel/include/sortix/kernel/segment.h @@ -17,8 +17,8 @@ * Structure representing a segment in a process. */ -#ifndef INCLUDE_SORTIX_KERNEL_SEGMENT_H -#define INCLUDE_SORTIX_KERNEL_SEGMENT_H +#ifndef _INCLUDE_SORTIX_KERNEL_SEGMENT_H +#define _INCLUDE_SORTIX_KERNEL_SEGMENT_H #include #include diff --git a/kernel/include/sortix/kernel/signal.h b/kernel/include/sortix/kernel/signal.h index 0dc4dceb..276e3117 100644 --- a/kernel/include/sortix/kernel/signal.h +++ b/kernel/include/sortix/kernel/signal.h @@ -17,8 +17,8 @@ * Asynchronous user-space thread interruption. */ -#ifndef INCLUDE_SORTIX_KERNEL_SIGNAL_H -#define INCLUDE_SORTIX_KERNEL_SIGNAL_H +#ifndef _INCLUDE_SORTIX_KERNEL_SIGNAL_H +#define _INCLUDE_SORTIX_KERNEL_SIGNAL_H #include #include diff --git a/kernel/include/sortix/kernel/sockopt.h b/kernel/include/sortix/kernel/sockopt.h index 05043320..fd97ef3d 100644 --- a/kernel/include/sortix/kernel/sockopt.h +++ b/kernel/include/sortix/kernel/sockopt.h @@ -17,8 +17,8 @@ * getsockopt() and setsockopt() utility functions. */ -#ifndef INCLUDE_SORTIX_KERNEL_SOCKOPT_H -#define INCLUDE_SORTIX_KERNEL_SOCKOPT_H +#ifndef _INCLUDE_SORTIX_KERNEL_SOCKOPT_H +#define _INCLUDE_SORTIX_KERNEL_SOCKOPT_H #include #include diff --git a/kernel/include/sortix/kernel/sortedlist.h b/kernel/include/sortix/kernel/sortedlist.h index d247d5b6..9d4cc411 100644 --- a/kernel/include/sortix/kernel/sortedlist.h +++ b/kernel/include/sortix/kernel/sortedlist.h @@ -18,8 +18,8 @@ * accessed. It also provides binary search. */ -#ifndef INCLUDE_SORTIX_KERNEL_SORTEDLIST_H -#define INCLUDE_SORTIX_KERNEL_SORTEDLIST_H +#ifndef _INCLUDE_SORTIX_KERNEL_SORTEDLIST_H +#define _INCLUDE_SORTIX_KERNEL_SORTEDLIST_H #include #include diff --git a/kernel/include/sortix/kernel/string.h b/kernel/include/sortix/kernel/string.h index b3afafde..bfe0fad6 100644 --- a/kernel/include/sortix/kernel/string.h +++ b/kernel/include/sortix/kernel/string.h @@ -17,8 +17,8 @@ * Useful functions for manipulating strings that don't belong in libc. */ -#ifndef SORTIX_STRING_H -#define SORTIX_STRING_H +#ifndef _INCLUDE_SORTIX_KERNEL_STRING_H +#define _INCLUDE_SORTIX_KERNEL_STRING_H #include diff --git a/kernel/include/sortix/kernel/syscall.h b/kernel/include/sortix/kernel/syscall.h index 9dd93c72..d84261b1 100644 --- a/kernel/include/sortix/kernel/syscall.h +++ b/kernel/include/sortix/kernel/syscall.h @@ -17,8 +17,8 @@ * Handles system calls from user-space. */ -#ifndef INCLUDE_SORTIX_KERNEL_SYSCALL_H -#define INCLUDE_SORTIX_KERNEL_SYSCALL_H +#ifndef _INCLUDE_SORTIX_KERNEL_SYSCALL_H +#define _INCLUDE_SORTIX_KERNEL_SYSCALL_H #include #include diff --git a/kernel/include/sortix/kernel/textbuffer.h b/kernel/include/sortix/kernel/textbuffer.h index 52c21328..dc36de94 100644 --- a/kernel/include/sortix/kernel/textbuffer.h +++ b/kernel/include/sortix/kernel/textbuffer.h @@ -17,8 +17,8 @@ * Provides a indexable text buffer for used by text mode terminals. */ -#ifndef SORTIX_TEXTBUFFER_H -#define SORTIX_TEXTBUFFER_H +#ifndef _INCLUDE_SORTIX_KERNEL_TEXTBUFFER_H +#define _INCLUDE_SORTIX_KERNEL_TEXTBUFFER_H #include diff --git a/kernel/include/sortix/kernel/thread.h b/kernel/include/sortix/kernel/thread.h index 23827d5d..713cf78a 100644 --- a/kernel/include/sortix/kernel/thread.h +++ b/kernel/include/sortix/kernel/thread.h @@ -17,8 +17,8 @@ * Describes a thread belonging to a process. */ -#ifndef INCLUDE_SORTIX_KERNEL_THREAD_H -#define INCLUDE_SORTIX_KERNEL_THREAD_H +#ifndef _INCLUDE_SORTIX_KERNEL_THREAD_H +#define _INCLUDE_SORTIX_KERNEL_THREAD_H #include diff --git a/kernel/include/sortix/kernel/time.h b/kernel/include/sortix/kernel/time.h index d8bba3d6..15799405 100644 --- a/kernel/include/sortix/kernel/time.h +++ b/kernel/include/sortix/kernel/time.h @@ -17,8 +17,8 @@ * Retrieving the current time. */ -#ifndef INCLUDE_SORTIX_KERNEL_TIME_H -#define INCLUDE_SORTIX_KERNEL_TIME_H +#ifndef _INCLUDE_SORTIX_KERNEL_TIME_H +#define _INCLUDE_SORTIX_KERNEL_TIME_H #include #include diff --git a/kernel/include/sortix/kernel/timer.h b/kernel/include/sortix/kernel/timer.h index ac85a633..e8d21ca4 100644 --- a/kernel/include/sortix/kernel/timer.h +++ b/kernel/include/sortix/kernel/timer.h @@ -17,8 +17,8 @@ * A virtual timer that triggers an action in a worker thread when triggered. */ -#ifndef INCLUDE_SORTIX_KERNEL_TIMER_H -#define INCLUDE_SORTIX_KERNEL_TIMER_H +#ifndef _INCLUDE_SORTIX_KERNEL_TIMER_H +#define _INCLUDE_SORTIX_KERNEL_TIMER_H #include #include diff --git a/kernel/include/sortix/kernel/user-timer.h b/kernel/include/sortix/kernel/user-timer.h index 748322e2..5ae29fdc 100644 --- a/kernel/include/sortix/kernel/user-timer.h +++ b/kernel/include/sortix/kernel/user-timer.h @@ -17,8 +17,8 @@ * Timer facility provided to user-space. */ -#ifndef INCLUDE_SORTIX_KERNEL_USER_TIMER_H -#define INCLUDE_SORTIX_KERNEL_USER_TIMER_H +#ifndef _INCLUDE_SORTIX_KERNEL_USER_TIMER_H +#define _INCLUDE_SORTIX_KERNEL_USER_TIMER_H #include diff --git a/kernel/include/sortix/kernel/video.h b/kernel/include/sortix/kernel/video.h index 2df5b062..66bf51b8 100644 --- a/kernel/include/sortix/kernel/video.h +++ b/kernel/include/sortix/kernel/video.h @@ -17,8 +17,8 @@ * Framework for Sortix video drivers. */ -#ifndef INCLUDE_SORTIX_KERNEL_VIDEO_H -#define INCLUDE_SORTIX_KERNEL_VIDEO_H +#ifndef _INCLUDE_SORTIX_KERNEL_VIDEO_H +#define _INCLUDE_SORTIX_KERNEL_VIDEO_H #include diff --git a/kernel/include/sortix/kernel/vnode.h b/kernel/include/sortix/kernel/vnode.h index cae8d505..1f32f0f3 100644 --- a/kernel/include/sortix/kernel/vnode.h +++ b/kernel/include/sortix/kernel/vnode.h @@ -17,8 +17,8 @@ * Nodes in the virtual filesystem. */ -#ifndef INCLUDE_SORTIX_KERNEL_VNODE_H -#define INCLUDE_SORTIX_KERNEL_VNODE_H +#ifndef _INCLUDE_SORTIX_KERNEL_VNODE_H +#define _INCLUDE_SORTIX_KERNEL_VNODE_H #include diff --git a/kernel/include/sortix/kernel/worker.h b/kernel/include/sortix/kernel/worker.h index ff14c2de..44660508 100644 --- a/kernel/include/sortix/kernel/worker.h +++ b/kernel/include/sortix/kernel/worker.h @@ -17,8 +17,8 @@ * Kernel worker thread. */ -#ifndef SORTIX_WORKER_H -#define SORTIX_WORKER_H +#ifndef _INCLUDE_SORTIX_KERNEL_WORKER_H +#define _INCLUDE_SORTIX_KERNEL_WORKER_H #include diff --git a/kernel/include/sortix/kernel/yielder.h b/kernel/include/sortix/kernel/yielder.h index f3bbc1b8..56a568d9 100644 --- a/kernel/include/sortix/kernel/yielder.h +++ b/kernel/include/sortix/kernel/yielder.h @@ -17,8 +17,8 @@ * Template that allows creation of easily-iterable sequences. */ -#ifndef INCLUDE_SORTIX_KERNEL_YIELDER_H -#define INCLUDE_SORTIX_KERNEL_YIELDER_H +#ifndef _INCLUDE_SORTIX_KERNEL_YIELDER_H +#define _INCLUDE_SORTIX_KERNEL_YIELDER_H namespace Sortix { diff --git a/kernel/include/sortix/keycodes.h b/kernel/include/sortix/keycodes.h index 2fb3cc59..a823eb5a 100644 --- a/kernel/include/sortix/keycodes.h +++ b/kernel/include/sortix/keycodes.h @@ -17,8 +17,8 @@ * Defines codes for every logical key on keyboards. */ -#ifndef SORTIX_KEYCODES_H -#define SORTIX_KEYCODES_H +#ifndef _INCLUDE_SORTIX_KEYCODES_H +#define _INCLUDE_SORTIX_KEYCODES_H /* Each of these keycodes corrospond to a logical key on a keyboard. Code reading logical keystrokes from the keyboard will receive a code from this diff --git a/kernel/include/sortix/limits.h b/kernel/include/sortix/limits.h index 5699797f..bffb3d6b 100644 --- a/kernel/include/sortix/limits.h +++ b/kernel/include/sortix/limits.h @@ -17,8 +17,8 @@ * System limits. */ -#ifndef INCLUDE_SORTIX_LIMITS_H -#define INCLUDE_SORTIX_LIMITS_H +#ifndef _INCLUDE_SORTIX_LIMITS_H +#define _INCLUDE_SORTIX_LIMITS_H #include diff --git a/kernel/include/sortix/mman.h b/kernel/include/sortix/mman.h index 19f6453b..ca85eb91 100644 --- a/kernel/include/sortix/mman.h +++ b/kernel/include/sortix/mman.h @@ -17,8 +17,8 @@ * Memory management declarations. */ -#ifndef SORTIX_MMAN_H -#define SORTIX_MMAN_H +#ifndef _INCLUDE_SORTIX_MMAN_H +#define _INCLUDE_SORTIX_MMAN_H /* Note that not all combinations of the following may be possible on all architectures. However, you do get at least as much access as you request. */ diff --git a/kernel/include/sortix/mode.h b/kernel/include/sortix/mode.h index dc33020b..61789c49 100644 --- a/kernel/include/sortix/mode.h +++ b/kernel/include/sortix/mode.h @@ -17,8 +17,8 @@ * Defines the symbolic constants for use in mode_t. */ -#ifndef INCLUDE_SORTIX_MODE_H -#define INCLUDE_SORTIX_MODE_H +#ifndef _INCLUDE_SORTIX_MODE_H +#define _INCLUDE_SORTIX_MODE_H #include diff --git a/kernel/include/sortix/mount.h b/kernel/include/sortix/mount.h index ac2c81dd..367c8330 100644 --- a/kernel/include/sortix/mount.h +++ b/kernel/include/sortix/mount.h @@ -17,8 +17,8 @@ * Constants related to mounting and binding. */ -#ifndef SORTIX_INCLUDE_MOUNT_H -#define SORTIX_INCLUDE_MOUNT_H +#ifndef _INCLUDE_SORTIX_MOUNT_H +#define _INCLUDE_SORTIX_MOUNT_H #include diff --git a/kernel/include/sortix/poll.h b/kernel/include/sortix/poll.h index 8bc15ac1..5ee6c256 100644 --- a/kernel/include/sortix/poll.h +++ b/kernel/include/sortix/poll.h @@ -17,8 +17,8 @@ * Interface for waiting on file descriptor events. */ -#ifndef INCLUDE_SORTIX_POLL_H -#define INCLUDE_SORTIX_POLL_H +#ifndef _INCLUDE_SORTIX_POLL_H +#define _INCLUDE_SORTIX_POLL_H #include diff --git a/kernel/include/sortix/ps2mouse.h b/kernel/include/sortix/ps2mouse.h index d1797263..90663887 100644 --- a/kernel/include/sortix/ps2mouse.h +++ b/kernel/include/sortix/ps2mouse.h @@ -17,8 +17,8 @@ * Defines macros for the PS/2 mouse protocol. */ -#ifndef INCLUDE_SORTIX_PS2MOUSE_H -#define INCLUDE_SORTIX_PS2MOUSE_H +#ifndef _INCLUDE_SORTIX_PS2MOUSE_H +#define _INCLUDE_SORTIX_PS2MOUSE_H #define MOUSE_PACKET_SIZE 3 diff --git a/kernel/include/sortix/psctl.h b/kernel/include/sortix/psctl.h index b900b9fb..bf4c3d94 100644 --- a/kernel/include/sortix/psctl.h +++ b/kernel/include/sortix/psctl.h @@ -17,8 +17,8 @@ * Process control interface. */ -#ifndef INCLUDE_SORTIX_PSCTL_H -#define INCLUDE_SORTIX_PSCTL_H +#ifndef _INCLUDE_SORTIX_PSCTL_H +#define _INCLUDE_SORTIX_PSCTL_H #include diff --git a/kernel/include/sortix/resource.h b/kernel/include/sortix/resource.h index 11f8c96e..f9d8269e 100644 --- a/kernel/include/sortix/resource.h +++ b/kernel/include/sortix/resource.h @@ -17,8 +17,8 @@ * Resource limits and operations. */ -#ifndef INCLUDE_SORTIX_RESOURCE_H -#define INCLUDE_SORTIX_RESOURCE_H +#ifndef _INCLUDE_SORTIX_RESOURCE_H +#define _INCLUDE_SORTIX_RESOURCE_H #include diff --git a/kernel/include/sortix/seek.h b/kernel/include/sortix/seek.h index 333db002..6ebd2bf0 100644 --- a/kernel/include/sortix/seek.h +++ b/kernel/include/sortix/seek.h @@ -17,8 +17,8 @@ * Defines the SEEK_CUR, SEEK_SET, and SEEK_END values. */ -#ifndef SORTIX_SEEK_H -#define SORTIX_SEEK_H +#ifndef _INCLUDE_SORTIX_SEEK_H +#define _INCLUDE_SORTIX_SEEK_H #include diff --git a/kernel/include/sortix/sigaction.h b/kernel/include/sortix/sigaction.h index 971b42a9..9f345611 100644 --- a/kernel/include/sortix/sigaction.h +++ b/kernel/include/sortix/sigaction.h @@ -17,8 +17,8 @@ * Declares struct sigaction and associated flags. */ -#ifndef INCLUDE_SORTIX_SIGACTION_H -#define INCLUDE_SORTIX_SIGACTION_H +#ifndef _INCLUDE_SORTIX_SIGACTION_H +#define _INCLUDE_SORTIX_SIGACTION_H #include diff --git a/kernel/include/sortix/sigevent.h b/kernel/include/sortix/sigevent.h index 0a54cbdb..4fe289af 100644 --- a/kernel/include/sortix/sigevent.h +++ b/kernel/include/sortix/sigevent.h @@ -17,8 +17,8 @@ * Declares the sigevent structure. */ -#ifndef INCLUDE_SORTIX_SIGEVENT_H -#define INCLUDE_SORTIX_SIGEVENT_H +#ifndef _INCLUDE_SORTIX_SIGEVENT_H +#define _INCLUDE_SORTIX_SIGEVENT_H #include diff --git a/kernel/include/sortix/siginfo.h b/kernel/include/sortix/siginfo.h index de71abf0..3a53a018 100644 --- a/kernel/include/sortix/siginfo.h +++ b/kernel/include/sortix/siginfo.h @@ -17,8 +17,8 @@ * Declares siginfo_t and associated flags. */ -#ifndef INCLUDE_SORTIX_SIGINFO_H -#define INCLUDE_SORTIX_SIGINFO_H +#ifndef _INCLUDE_SORTIX_SIGINFO_H +#define _INCLUDE_SORTIX_SIGINFO_H #include diff --git a/kernel/include/sortix/signal.h b/kernel/include/sortix/signal.h index 7c0df05d..9dce88c7 100644 --- a/kernel/include/sortix/signal.h +++ b/kernel/include/sortix/signal.h @@ -17,8 +17,8 @@ * Defines the numeric values for the various supported signals. */ -#ifndef SORTIX_INCLUDE_SIGNAL_H -#define SORTIX_INCLUDE_SIGNAL_H +#ifndef _INCLUDE_SORTIX_SIGNAL_H +#define _INCLUDE_SORTIX_SIGNAL_H #include diff --git a/kernel/include/sortix/sigprocmask.h b/kernel/include/sortix/sigprocmask.h index 639500ba..cb9c7284 100644 --- a/kernel/include/sortix/sigprocmask.h +++ b/kernel/include/sortix/sigprocmask.h @@ -17,8 +17,8 @@ * Declares flags for sigprocmask. */ -#ifndef INCLUDE_SORTIX_SIGPROCMASK_H -#define INCLUDE_SORTIX_SIGPROCMASK_H +#ifndef _INCLUDE_SORTIX_SIGPROCMASK_H +#define _INCLUDE_SORTIX_SIGPROCMASK_H #include diff --git a/kernel/include/sortix/sigset.h b/kernel/include/sortix/sigset.h index 98d62bfb..f0012c08 100644 --- a/kernel/include/sortix/sigset.h +++ b/kernel/include/sortix/sigset.h @@ -17,8 +17,8 @@ * Declaration of the sigset_t structure. */ -#ifndef INCLUDE_SORTIX_SIGSET_H -#define INCLUDE_SORTIX_SIGSET_H +#ifndef _INCLUDE_SORTIX_SIGSET_H +#define _INCLUDE_SORTIX_SIGSET_H #include diff --git a/kernel/include/sortix/sigval.h b/kernel/include/sortix/sigval.h index 7b4a84cd..8a0d0009 100644 --- a/kernel/include/sortix/sigval.h +++ b/kernel/include/sortix/sigval.h @@ -17,8 +17,8 @@ * Declares union sigval. */ -#ifndef INCLUDE_SORTIX_SIGVAL_H -#define INCLUDE_SORTIX_SIGVAL_H +#ifndef _INCLUDE_SORTIX_SIGVAL_H +#define _INCLUDE_SORTIX_SIGVAL_H #include diff --git a/kernel/include/sortix/socket.h b/kernel/include/sortix/socket.h index 1a62e268..d8dd1f2c 100644 --- a/kernel/include/sortix/socket.h +++ b/kernel/include/sortix/socket.h @@ -17,8 +17,8 @@ * Declarations for socket types and other flags. */ -#ifndef SORTIX_INCLUDE_SOCKET_H -#define SORTIX_INCLUDE_SOCKET_H +#ifndef _INCLUDE_SORTIX_SOCKET_H +#define _INCLUDE_SORTIX_SOCKET_H #include diff --git a/kernel/include/sortix/stack.h b/kernel/include/sortix/stack.h index d6aa9e81..39d80eb4 100644 --- a/kernel/include/sortix/stack.h +++ b/kernel/include/sortix/stack.h @@ -17,8 +17,8 @@ * Declares stack_t and associated flags. */ -#ifndef INCLUDE_SORTIX_STACK_H -#define INCLUDE_SORTIX_STACK_H +#ifndef _INCLUDE_SORTIX_STACK_H +#define _INCLUDE_SORTIX_STACK_H #include diff --git a/kernel/include/sortix/stat.h b/kernel/include/sortix/stat.h index 3ca13781..8ea9ff94 100644 --- a/kernel/include/sortix/stat.h +++ b/kernel/include/sortix/stat.h @@ -18,8 +18,8 @@ * macros and values relating to values stored in it. */ -#ifndef INCLUDE_SORTIX_STAT_H -#define INCLUDE_SORTIX_STAT_H +#ifndef _INCLUDE_SORTIX_STAT_H +#define _INCLUDE_SORTIX_STAT_H #include diff --git a/kernel/include/sortix/statvfs.h b/kernel/include/sortix/statvfs.h index e937d366..102b63b6 100644 --- a/kernel/include/sortix/statvfs.h +++ b/kernel/include/sortix/statvfs.h @@ -17,8 +17,8 @@ * Virtual filesystem information structure. */ -#ifndef INCLUDE_SORTIX_STATVFS_H -#define INCLUDE_SORTIX_STATVFS_H +#ifndef _INCLUDE_SORTIX_STATVFS_H +#define _INCLUDE_SORTIX_STATVFS_H #include diff --git a/kernel/include/sortix/syscall.h b/kernel/include/sortix/syscall.h index 194038a7..842a576b 100644 --- a/kernel/include/sortix/syscall.h +++ b/kernel/include/sortix/syscall.h @@ -17,8 +17,8 @@ * Numeric constants identifying each system call. */ -#ifndef INCLUDE_SORTIX_SYSCALLNUM_H -#define INCLUDE_SORTIX_SYSCALLNUM_H +#ifndef _INCLUDE_SORTIX_SYSCALL_H +#define _INCLUDE_SORTIX_SYSCALL_H #define SYSCALL_BAD_SYSCALL 0 #define SYSCALL_EXIT 1 /* OBSOLETE */ diff --git a/kernel/include/sortix/tar.h b/kernel/include/sortix/tar.h index 417fc33e..85f28aa0 100644 --- a/kernel/include/sortix/tar.h +++ b/kernel/include/sortix/tar.h @@ -17,8 +17,8 @@ * tar archieve format. */ -#ifndef INCLUDE_SORTIX_TAR_H -#define INCLUDE_SORTIX_TAR_H +#ifndef _INCLUDE_SORTIX_TAR_H +#define _INCLUDE_SORTIX_TAR_H struct tar { diff --git a/kernel/include/sortix/termios.h b/kernel/include/sortix/termios.h index 3feca977..89299694 100644 --- a/kernel/include/sortix/termios.h +++ b/kernel/include/sortix/termios.h @@ -17,8 +17,8 @@ * Termios types and constants. */ -#ifndef INCLUDE_SORTIX_TERMIOS_H -#define INCLUDE_SORTIX_TERMIOS_H +#ifndef _INCLUDE_SORTIX_TERMIOS_H +#define _INCLUDE_SORTIX_TERMIOS_H #include diff --git a/kernel/include/sortix/termmode.h b/kernel/include/sortix/termmode.h index 2e84aedc..c02870bf 100644 --- a/kernel/include/sortix/termmode.h +++ b/kernel/include/sortix/termmode.h @@ -17,8 +17,8 @@ * Defines constants for various terminal modes. */ -#ifndef SORTIX_TERMMODE_H -#define SORTIX_TERMMODE_H +#ifndef _INCLUDE_SORTIX_TERMMODE_H +#define _INCLUDE_SORTIX_TERMMODE_H #define TERMMODE_KBKEY (1U << 0) /* ISORTIX_ENABLE_KBKEY */ #define TERMMODE_UNICODE (1U << 1) /* !ISORTIX_DISABLE_CHARS */ diff --git a/kernel/include/sortix/time.h b/kernel/include/sortix/time.h index bfeae94c..d8895f6e 100644 --- a/kernel/include/sortix/time.h +++ b/kernel/include/sortix/time.h @@ -17,8 +17,8 @@ * Declarations for the kernel time interfaces. */ -#ifndef INCLUDE_SORTIX_TIME_H -#define INCLUDE_SORTIX_TIME_H +#ifndef _INCLUDE_SORTIX_TIME_H +#define _INCLUDE_SORTIX_TIME_H #include diff --git a/kernel/include/sortix/timespec.h b/kernel/include/sortix/timespec.h index f49215fc..aac59be2 100644 --- a/kernel/include/sortix/timespec.h +++ b/kernel/include/sortix/timespec.h @@ -17,8 +17,8 @@ * Declaration of the timespec structure. */ -#ifndef INCLUDE_SORTIX_TIMESPEC_H -#define INCLUDE_SORTIX_TIMESPEC_H +#ifndef _INCLUDE_SORTIX_TIMESPEC_H +#define _INCLUDE_SORTIX_TIMESPEC_H #include diff --git a/kernel/include/sortix/tmns.h b/kernel/include/sortix/tmns.h index 7f2ecebb..b77ef58f 100644 --- a/kernel/include/sortix/tmns.h +++ b/kernel/include/sortix/tmns.h @@ -17,8 +17,8 @@ * Declarations for the kernel time interfaces. */ -#ifndef INCLUDE_SORTIX_TMNS_H -#define INCLUDE_SORTIX_TMNS_H +#ifndef _INCLUDE_SORTIX_TMNS_H +#define _INCLUDE_SORTIX_TMNS_H #include diff --git a/kernel/include/sortix/types.h b/kernel/include/sortix/types.h index 8a1497da..631f08aa 100644 --- a/kernel/include/sortix/types.h +++ b/kernel/include/sortix/types.h @@ -17,8 +17,8 @@ * Data types. */ -#ifndef INCLUDE_SORTIX_TYPES_H -#define INCLUDE_SORTIX_TYPES_H +#ifndef _INCLUDE_SORTIX_TYPES_H +#define _INCLUDE_SORTIX_TYPES_H #include diff --git a/kernel/include/sortix/ucontext.h b/kernel/include/sortix/ucontext.h index 13bc0c2c..cef7d5dc 100644 --- a/kernel/include/sortix/ucontext.h +++ b/kernel/include/sortix/ucontext.h @@ -17,8 +17,8 @@ * Declares ucontext_t and associated values. */ -#ifndef INCLUDE_SORTIX_UCONTEXT_H -#define INCLUDE_SORTIX_UCONTEXT_H +#ifndef _INCLUDE_SORTIX_UCONTEXT_H +#define _INCLUDE_SORTIX_UCONTEXT_H #include diff --git a/kernel/include/sortix/uio.h b/kernel/include/sortix/uio.h index 489b6d4f..2d87f9b9 100644 --- a/kernel/include/sortix/uio.h +++ b/kernel/include/sortix/uio.h @@ -17,8 +17,8 @@ * Vector IO operations. */ -#ifndef INCLUDE_SORTIX_UIO_H -#define INCLUDE_SORTIX_UIO_H +#ifndef _INCLUDE_SORTIX_UIO_H +#define _INCLUDE_SORTIX_UIO_H #include diff --git a/kernel/include/sortix/unistd.h b/kernel/include/sortix/unistd.h index ddebed3d..e3ddbf39 100644 --- a/kernel/include/sortix/unistd.h +++ b/kernel/include/sortix/unistd.h @@ -17,8 +17,8 @@ * Standard symbolic constants and types for Sortix. */ -#ifndef SORTIX_UNISTD_H -#define SORTIX_UNISTD_H +#ifndef _INCLUDE_SORTIX_UNISTD_H +#define _INCLUDE_SORTIX_UNISTD_H #include diff --git a/kernel/include/sortix/uthread.h b/kernel/include/sortix/uthread.h index 8af6ab9c..ad65872b 100644 --- a/kernel/include/sortix/uthread.h +++ b/kernel/include/sortix/uthread.h @@ -17,8 +17,8 @@ * Header for user-space thread structures. */ -#ifndef INCLUDE_SORTIX_UTHREAD_H -#define INCLUDE_SORTIX_UTHREAD_H +#ifndef _INCLUDE_SORTIX_UTHREAD_H +#define _INCLUDE_SORTIX_UTHREAD_H #include diff --git a/kernel/include/sortix/vga.h b/kernel/include/sortix/vga.h index fdb085ca..e2e325a0 100644 --- a/kernel/include/sortix/vga.h +++ b/kernel/include/sortix/vga.h @@ -17,8 +17,8 @@ * Standard symbolic constants and types for Sortix. */ -#ifndef INC_SORTIX_VGA_H -#define INC_SORTIX_VGA_H +#ifndef _INCLUDE_SORTIX_VGA_H +#define _INCLUDE_SORTIX_VGA_H #include diff --git a/kernel/include/sortix/wait.h b/kernel/include/sortix/wait.h index 483725db..9b2a0b09 100644 --- a/kernel/include/sortix/wait.h +++ b/kernel/include/sortix/wait.h @@ -17,8 +17,8 @@ * Declarations for waiting for the events of children. */ -#ifndef INCLUDE_SORTIX_WAIT_H -#define INCLUDE_SORTIX_WAIT_H +#ifndef _INCLUDE_SORTIX_WAIT_H +#define _INCLUDE_SORTIX_WAIT_H #include diff --git a/kernel/include/sortix/winsize.h b/kernel/include/sortix/winsize.h index 05c3aead..033bd838 100644 --- a/kernel/include/sortix/winsize.h +++ b/kernel/include/sortix/winsize.h @@ -17,8 +17,8 @@ * Defines values for termios. */ -#ifndef INCLUDE_SORTIX_WINSIZE_H -#define INCLUDE_SORTIX_WINSIZE_H +#ifndef _INCLUDE_SORTIX_WINSIZE_H +#define _INCLUDE_SORTIX_WINSIZE_H #include diff --git a/libc/include/DIR.h b/libc/include/DIR.h index 1af2c1e8..8c6b7288 100644 --- a/libc/include/DIR.h +++ b/libc/include/DIR.h @@ -17,8 +17,8 @@ * The DIR structure from */ -#ifndef INCLUDE_DIR_H -#define INCLUDE_DIR_H +#ifndef _INCLUDE_DIR_H +#define _INCLUDE_DIR_H #include diff --git a/libc/include/FILE.h b/libc/include/FILE.h index 93d45c1a..81c8b681 100644 --- a/libc/include/FILE.h +++ b/libc/include/FILE.h @@ -17,8 +17,8 @@ * The FILE structure from */ -#ifndef INCLUDE_FILE_H -#define INCLUDE_FILE_H +#ifndef _INCLUDE_FILE_H +#define _INCLUDE_FILE_H #include diff --git a/libc/include/__/byteswap.h b/libc/include/__/byteswap.h index 1aa54b1b..c6326af6 100644 --- a/libc/include/__/byteswap.h +++ b/libc/include/__/byteswap.h @@ -17,8 +17,8 @@ * Convert byte ordering of integers. */ -#ifndef INCLUDE____BYTESWAP_H -#define INCLUDE____BYTESWAP_H +#ifndef _INCLUDE____BYTESWAP_H +#define _INCLUDE____BYTESWAP_H #include diff --git a/libc/include/__/endian.h b/libc/include/__/endian.h index 2e53af70..88adf62f 100644 --- a/libc/include/__/endian.h +++ b/libc/include/__/endian.h @@ -17,8 +17,8 @@ * Convert byte ordering of integers. */ -#ifndef INCLUDE____ENDIAN_H -#define INCLUDE____ENDIAN_H +#ifndef _INCLUDE____ENDIAN_H +#define _INCLUDE____ENDIAN_H #include diff --git a/libc/include/__/limits.h b/libc/include/__/limits.h index 4d66b8f6..070c26a8 100644 --- a/libc/include/__/limits.h +++ b/libc/include/__/limits.h @@ -17,8 +17,8 @@ * Implementation-defined constants. */ -#ifndef INCLUDE____LIMITS_H -#define INCLUDE____LIMITS_H +#ifndef _INCLUDE____LIMITS_H +#define _INCLUDE____LIMITS_H /* char */ #define __CHAR_BIT __CHAR_BIT__ diff --git a/libc/include/__/pthread.h b/libc/include/__/pthread.h index b935eaed..8c7a3a3a 100644 --- a/libc/include/__/pthread.h +++ b/libc/include/__/pthread.h @@ -17,8 +17,8 @@ * Thread API. */ -#ifndef INCLUDE____PTHREAD_H -#define INCLUDE____PTHREAD_H +#ifndef _INCLUDE____PTHREAD_H +#define _INCLUDE____PTHREAD_H #include diff --git a/libc/include/__/stdint.h b/libc/include/__/stdint.h index 37c1fa4d..92f472a1 100644 --- a/libc/include/__/stdint.h +++ b/libc/include/__/stdint.h @@ -17,8 +17,8 @@ * Integer types. */ -#ifndef INCLUDE____STDINT_H -#define INCLUDE____STDINT_H +#ifndef _INCLUDE____STDINT_H +#define _INCLUDE____STDINT_H #include diff --git a/libc/include/__/wchar.h b/libc/include/__/wchar.h index 3591d947..ff7155ed 100644 --- a/libc/include/__/wchar.h +++ b/libc/include/__/wchar.h @@ -17,8 +17,8 @@ * Wide character support. */ -#ifndef INCLUDE____WCHAR_H -#define INCLUDE____WCHAR_H +#ifndef _INCLUDE____WCHAR_H +#define _INCLUDE____WCHAR_H #include diff --git a/libc/include/__/wordsize.h b/libc/include/__/wordsize.h index e9ad523a..6c285836 100644 --- a/libc/include/__/wordsize.h +++ b/libc/include/__/wordsize.h @@ -17,8 +17,8 @@ * Native machine word size. */ -#ifndef INCLUDE____WORDSIZE_H -#define INCLUDE____WORDSIZE_H +#ifndef _INCLUDE____WORDSIZE_H +#define _INCLUDE____WORDSIZE_H #if defined(__x86_64__) #define __WORDSIZE 64 diff --git a/libc/include/alloca.h b/libc/include/alloca.h index 9b859329..0483ec2d 100644 --- a/libc/include/alloca.h +++ b/libc/include/alloca.h @@ -17,8 +17,8 @@ * Stack-based memory allocation. */ -#ifndef INCLUDE_ALLOCA_H -#define INCLUDE_ALLOCA_H +#ifndef _INCLUDE_ALLOCA_H +#define _INCLUDE_ALLOCA_H #include diff --git a/libc/include/ar.h b/libc/include/ar.h index 00fe8315..8dd7d20b 100644 --- a/libc/include/ar.h +++ b/libc/include/ar.h @@ -17,8 +17,8 @@ * Header describing the `ar' archive file format. */ -#ifndef INCLUDE_AR_H -#define INCLUDE_AR_H +#ifndef _INCLUDE_AR_H +#define _INCLUDE_AR_H #include diff --git a/libc/include/argp.h b/libc/include/argp.h index 5d271044..85c1818d 100644 --- a/libc/include/argp.h +++ b/libc/include/argp.h @@ -17,8 +17,8 @@ * Argument parsing facility. */ -#ifndef INCLUDE_ARGP_H -#define INCLUDE_ARGP_H +#ifndef _INCLUDE_ARGP_H +#define _INCLUDE_ARGP_H #include diff --git a/libc/include/arpa/inet.h b/libc/include/arpa/inet.h index a3f3b835..6b30b90a 100644 --- a/libc/include/arpa/inet.h +++ b/libc/include/arpa/inet.h @@ -17,8 +17,8 @@ * Definitions for internet operations. */ -#ifndef INCLUDE_ARPA_INET_H -#define INCLUDE_ARPA_INET_H +#ifndef _INCLUDE_ARPA_INET_H +#define _INCLUDE_ARPA_INET_H #include diff --git a/libc/include/assert.h b/libc/include/assert.h index 0df0087f..81c31824 100644 --- a/libc/include/assert.h +++ b/libc/include/assert.h @@ -17,8 +17,8 @@ * Verify program assertion. */ -#ifndef INCLUDE_ASSERT_H -#define INCLUDE_ASSERT_H +#ifndef _INCLUDE_ASSERT_H +#define _INCLUDE_ASSERT_H #include diff --git a/libc/include/blf.h b/libc/include/blf.h index d6a67404..53bf5728 100644 --- a/libc/include/blf.h +++ b/libc/include/blf.h @@ -31,8 +31,8 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#ifndef _BLF_H_ -#define _BLF_H_ +#ifndef _INCLUDE_BLF_H +#define _INCLUDE_BLF_H #include diff --git a/libc/include/brand.h b/libc/include/brand.h index 8ffc76ae..31275a2c 100644 --- a/libc/include/brand.h +++ b/libc/include/brand.h @@ -17,8 +17,8 @@ * Macros expanding to the name of the operating system and distribution. */ -#ifndef INCLUDE_BRAND_H -#define INCLUDE_BRAND_H +#ifndef _INCLUDE_BRAND_H +#define _INCLUDE_BRAND_H /* * The name 'Sortix' and the Sortix Logo are reserved for use by the official diff --git a/libc/include/byteswap.h b/libc/include/byteswap.h index 5f59cda8..5867dcb3 100644 --- a/libc/include/byteswap.h +++ b/libc/include/byteswap.h @@ -17,8 +17,8 @@ * Convert byte ordering of integers. */ -#ifndef _BYTESWAP_H -#define _BYTESWAP_H 1 +#ifndef _INCLUDE_BYTESWAP_H +#define _INCLUDE_BYTESWAP_H #include diff --git a/libc/include/ctype.h b/libc/include/ctype.h index c6f4ed7a..6dc5b611 100644 --- a/libc/include/ctype.h +++ b/libc/include/ctype.h @@ -17,8 +17,8 @@ * Character types. */ -#ifndef INCLUDE_CTYPE_H -#define INCLUDE_CTYPE_H +#ifndef _INCLUDE_CTYPE_H +#define _INCLUDE_CTYPE_H #include diff --git a/libc/include/dirent.h b/libc/include/dirent.h index fbf9c059..7a07e3c3 100644 --- a/libc/include/dirent.h +++ b/libc/include/dirent.h @@ -17,8 +17,8 @@ * Format of directory entries. */ -#ifndef INCLUDE_DIRENT_H -#define INCLUDE_DIRENT_H +#ifndef _INCLUDE_DIRENT_H +#define _INCLUDE_DIRENT_H #include diff --git a/libc/include/dlfcn.h b/libc/include/dlfcn.h index eafb111e..89da00db 100644 --- a/libc/include/dlfcn.h +++ b/libc/include/dlfcn.h @@ -17,8 +17,8 @@ * Dynamic linking. */ -#ifndef _DLFCN_H -#define _DLFCN_H 1 +#ifndef _INCLUDE_DLFCN_H +#define _INCLUDE_DLFCN_H #include diff --git a/libc/include/elf.h b/libc/include/elf.h index 81d35313..28a4d209 100644 --- a/libc/include/elf.h +++ b/libc/include/elf.h @@ -1,5 +1,5 @@ -#ifndef _ELF_H -#define _ELF_H +#ifndef _INCLUDE_ELF_H +#define _INCLUDE_ELF_H #include diff --git a/libc/include/endian.h b/libc/include/endian.h index b6d642ac..fcedb914 100644 --- a/libc/include/endian.h +++ b/libc/include/endian.h @@ -17,8 +17,8 @@ * Convert byte ordering of integers. */ -#ifndef _ENDIAN_H -#define _ENDIAN_H 1 +#ifndef _INCLUDE_ENDIAN_H +#define _INCLUDE_ENDIAN_H #include diff --git a/libc/include/err.h b/libc/include/err.h index c5c365e8..11d6cf7d 100644 --- a/libc/include/err.h +++ b/libc/include/err.h @@ -17,8 +17,8 @@ * Error reporting functions. */ -#ifndef INCLUDE_ERR_H -#define INCLUDE_ERR_H +#ifndef _INCLUDE_ERR_H +#define _INCLUDE_ERR_H #include diff --git a/libc/include/errno.h b/libc/include/errno.h index 2806cb90..d286aae3 100644 --- a/libc/include/errno.h +++ b/libc/include/errno.h @@ -17,8 +17,8 @@ * System error numbers. */ -#ifndef INCLUDE_ERRNO_H -#define INCLUDE_ERRNO_H +#ifndef _INCLUDE_ERRNO_H +#define _INCLUDE_ERRNO_H #include diff --git a/libc/include/error.h b/libc/include/error.h index 475c3ef9..c20e1fe8 100644 --- a/libc/include/error.h +++ b/libc/include/error.h @@ -17,8 +17,8 @@ * Error reporting functions. */ -#ifndef INCLUDE_ERROR_H -#define INCLUDE_ERROR_H +#ifndef _INCLUDE_ERROR_H +#define _INCLUDE_ERROR_H #include diff --git a/libc/include/fcntl.h b/libc/include/fcntl.h index 6497f39a..21085481 100644 --- a/libc/include/fcntl.h +++ b/libc/include/fcntl.h @@ -17,8 +17,8 @@ * File control options. */ -#ifndef INCLUDE_FCNTL_H -#define INCLUDE_FCNTL_H +#ifndef _INCLUDE_FCNTL_H +#define _INCLUDE_FCNTL_H #include diff --git a/libc/include/features.h b/libc/include/features.h index 1b9c91ee..9cc66388 100644 --- a/libc/include/features.h +++ b/libc/include/features.h @@ -17,8 +17,8 @@ * Detects the appropriate standard that this translation unit uses. */ -#ifndef INCLUDE_FEATURES_H -#define INCLUDE_FEATURES_H +#ifndef _INCLUDE_FEATURES_H +#define _INCLUDE_FEATURES_H #define __sortix_libc__ 1 diff --git a/libc/include/fnmatch.h b/libc/include/fnmatch.h index 27448cda..3d346da0 100644 --- a/libc/include/fnmatch.h +++ b/libc/include/fnmatch.h @@ -17,8 +17,8 @@ * Filename matching. */ -#ifndef INCLUDE_FNMATCH_H -#define INCLUDE_FNMATCH_H +#ifndef _INCLUDE_FNMATCH_H +#define _INCLUDE_FNMATCH_H #include diff --git a/libc/include/fsmarshall-msg.h b/libc/include/fsmarshall-msg.h index f1ab958f..a9c5f5cf 100644 --- a/libc/include/fsmarshall-msg.h +++ b/libc/include/fsmarshall-msg.h @@ -17,8 +17,8 @@ * User-space filesystem API. */ -#ifndef INCLUDE_FSMARSHALL_MSG_H -#define INCLUDE_FSMARSHALL_MSG_H +#ifndef _INCLUDE_FSMARSHALL_MSG_H +#define _INCLUDE_FSMARSHALL_MSG_H #include #include diff --git a/libc/include/fsmarshall.h b/libc/include/fsmarshall.h index 75932d4f..84ecd0e7 100644 --- a/libc/include/fsmarshall.h +++ b/libc/include/fsmarshall.h @@ -17,8 +17,8 @@ * User-space filesystem API. */ -#ifndef INCLUDE_FSMARSHALL_H -#define INCLUDE_FSMARSHALL_H +#ifndef _INCLUDE_FSMARSHALL_H +#define _INCLUDE_FSMARSHALL_H #include diff --git a/libc/include/fstab.h b/libc/include/fstab.h index 4cd28df0..936b36af 100644 --- a/libc/include/fstab.h +++ b/libc/include/fstab.h @@ -17,8 +17,8 @@ * Filesystem table. */ -#ifndef INCLUDE_FSTAB_H -#define INCLUDE_FSTAB_H +#ifndef _INCLUDE_FSTAB_H +#define _INCLUDE_FSTAB_H #include diff --git a/libc/include/getopt.h b/libc/include/getopt.h index 80dde584..39a13222 100644 --- a/libc/include/getopt.h +++ b/libc/include/getopt.h @@ -17,8 +17,8 @@ * Command-line parsing facility. */ -#ifndef INCLUDE_GETOPT_H -#define INCLUDE_GETOPT_H +#ifndef _INCLUDE_GETOPT_H +#define _INCLUDE_GETOPT_H #include diff --git a/libc/include/grp.h b/libc/include/grp.h index 77743ed6..00926ef4 100644 --- a/libc/include/grp.h +++ b/libc/include/grp.h @@ -17,8 +17,8 @@ * Group database. */ -#ifndef INCLUDE_GRP_H -#define INCLUDE_GRP_H +#ifndef _INCLUDE_GRP_H +#define _INCLUDE_GRP_H #include diff --git a/libc/include/inttypes.h b/libc/include/inttypes.h index a6dc2e75..270410b3 100644 --- a/libc/include/inttypes.h +++ b/libc/include/inttypes.h @@ -17,8 +17,8 @@ * Fixed size integer types. */ -#ifndef INCLUDE_INTTYPES_H -#define INCLUDE_INTTYPES_H +#ifndef _INCLUDE_INTTYPES_H +#define _INCLUDE_INTTYPES_H #include diff --git a/libc/include/ioleast.h b/libc/include/ioleast.h index c1cc39ab..0ef87443 100644 --- a/libc/include/ioleast.h +++ b/libc/include/ioleast.h @@ -20,8 +20,8 @@ * buffer or write it all. */ -#ifndef INCLUDE_IOLEAST_H -#define INCLUDE_IOLEAST_H +#ifndef _INCLUDE_IOLEAST_H +#define _INCLUDE_IOLEAST_H #include diff --git a/libc/include/langinfo.h b/libc/include/langinfo.h index 1f7561a4..8fabac69 100644 --- a/libc/include/langinfo.h +++ b/libc/include/langinfo.h @@ -17,8 +17,8 @@ * Language information constants. */ -#ifndef INCLUDE_LANGINFO_H -#define INCLUDE_LANGINFO_H +#ifndef _INCLUDE_LANGINFO_H +#define _INCLUDE_LANGINFO_H #ifndef __locale_t_defined #define __locale_t_defined diff --git a/libc/include/libgen.h b/libc/include/libgen.h index cd5c3ba7..ca4bae54 100644 --- a/libc/include/libgen.h +++ b/libc/include/libgen.h @@ -17,8 +17,8 @@ * What's left of some old pattern matching library. */ -#ifndef INCLUDE_LIBGEN_H -#define INCLUDE_LIBGEN_H +#ifndef _INCLUDE_LIBGEN_H +#define _INCLUDE_LIBGEN_H #include diff --git a/libc/include/libk.h b/libc/include/libk.h index 498c766d..08b733c1 100644 --- a/libc/include/libk.h +++ b/libc/include/libk.h @@ -17,8 +17,8 @@ * Standalone C library hooks. */ -#ifndef INCLUDE_LIBK_H -#define INCLUDE_LIBK_H +#ifndef _INCLUDE_LIBK_H +#define _INCLUDE_LIBK_H #include #include diff --git a/libc/include/locale.h b/libc/include/locale.h index 7d5c94c3..a42bed76 100644 --- a/libc/include/locale.h +++ b/libc/include/locale.h @@ -17,8 +17,8 @@ * Category macros. */ -#ifndef _LOCALE_H -#define _LOCALE_H 1 +#ifndef _INCLUDE_LOCALE_H +#define _INCLUDE_LOCALE_H #include diff --git a/libc/include/malloc.h b/libc/include/malloc.h index 4a6b9e8d..5a627e66 100644 --- a/libc/include/malloc.h +++ b/libc/include/malloc.h @@ -17,8 +17,8 @@ * Memory allocation internals. */ -#ifndef INCLUDE_MALLOC_H -#define INCLUDE_MALLOC_H +#ifndef _INCLUDE_MALLOC_H +#define _INCLUDE_MALLOC_H #include diff --git a/libc/include/msr.h b/libc/include/msr.h index d5647418..ac4a94ff 100644 --- a/libc/include/msr.h +++ b/libc/include/msr.h @@ -18,8 +18,8 @@ * modifying machine specific registers. */ -#ifndef INCLUDE_MSR_H -#define INCLUDE_MSR_H +#ifndef _INCLUDE_MSR_H +#define _INCLUDE_MSR_H #include diff --git a/libc/include/netdb.h b/libc/include/netdb.h index be335069..ce37b7e7 100644 --- a/libc/include/netdb.h +++ b/libc/include/netdb.h @@ -17,8 +17,8 @@ * Definitions for network database operations. */ -#ifndef _NETDB_H -#define _NETDB_H 1 +#ifndef _INCLUDE_NETDB_H +#define _INCLUDE_NETDB_H #include diff --git a/libc/include/netinet/in.h b/libc/include/netinet/in.h index 0b382240..9361fb9d 100644 --- a/libc/include/netinet/in.h +++ b/libc/include/netinet/in.h @@ -17,8 +17,8 @@ * Internet socket interface. */ -#ifndef INCLUDE_NETINET_IN_H -#define INCLUDE_NETINET_IN_H +#ifndef _INCLUDE_NETINET_IN_H +#define _INCLUDE_NETINET_IN_H #include diff --git a/libc/include/netinet/tcp.h b/libc/include/netinet/tcp.h index c667f447..59a94178 100644 --- a/libc/include/netinet/tcp.h +++ b/libc/include/netinet/tcp.h @@ -17,8 +17,8 @@ * Definitions for the Internet Transmission Control Protocol. */ -#ifndef INCLUDE_NETINET_TCP_H -#define INCLUDE_NETINET_TCP_H +#ifndef _INCLUDE_NETINET_TCP_H +#define _INCLUDE_NETINET_TCP_H #include diff --git a/libc/include/poll.h b/libc/include/poll.h index 4e2f1d30..72a4f5c7 100644 --- a/libc/include/poll.h +++ b/libc/include/poll.h @@ -17,8 +17,8 @@ * Input/output multiplexing. */ -#ifndef _POLL_H -#define _POLL_H 1 +#ifndef _INCLUDE_POLL_H +#define _INCLUDE_POLL_H #include diff --git a/libc/include/psctl.h b/libc/include/psctl.h index 52ee04c3..e6ca0a87 100644 --- a/libc/include/psctl.h +++ b/libc/include/psctl.h @@ -17,8 +17,8 @@ * Process control interface. */ -#ifndef INCLUDE_PSCTL_H -#define INCLUDE_PSCTL_H +#ifndef _INCLUDE_PSCTL_H +#define _INCLUDE_PSCTL_H #include diff --git a/libc/include/pthread.h b/libc/include/pthread.h index 8a3ad5bc..a6ed8b16 100644 --- a/libc/include/pthread.h +++ b/libc/include/pthread.h @@ -17,8 +17,8 @@ * Thread API. */ -#ifndef INCLUDE_PTHREAD_H -#define INCLUDE_PTHREAD_H +#ifndef _INCLUDE_PTHREAD_H +#define _INCLUDE_PTHREAD_H #include diff --git a/libc/include/pty.h b/libc/include/pty.h index 5eed9627..0bd9bbc2 100644 --- a/libc/include/pty.h +++ b/libc/include/pty.h @@ -17,8 +17,8 @@ * Psuedoterminals. */ -#ifndef INCLUDE_PTY_H -#define INCLUDE_PTY_H +#ifndef _INCLUDE_PTY_H +#define _INCLUDE_PTY_H #include diff --git a/libc/include/pwd.h b/libc/include/pwd.h index f4417af8..79794477 100644 --- a/libc/include/pwd.h +++ b/libc/include/pwd.h @@ -17,8 +17,8 @@ * User database. */ -#ifndef INCLUDE_PWD_H -#define INCLUDE_PWD_H +#ifndef _INCLUDE_PWD_H +#define _INCLUDE_PWD_H #include diff --git a/libc/include/regex.h b/libc/include/regex.h index dd0bfcca..3091840d 100644 --- a/libc/include/regex.h +++ b/libc/include/regex.h @@ -17,8 +17,8 @@ * Regular expressions. */ -#ifndef _REGEX_H -#define _REGEX_H +#ifndef _INCLUDE_REGEX_H +#define _INCLUDE_REGEX_H #include diff --git a/libc/include/sched.h b/libc/include/sched.h index c33ef6a9..b7a641ca 100644 --- a/libc/include/sched.h +++ b/libc/include/sched.h @@ -17,8 +17,8 @@ * Executing scheduling. */ -#ifndef INCLUDE_SCHED_H -#define INCLUDE_SCHED_H +#ifndef _INCLUDE_SCHED_H +#define _INCLUDE_SCHED_H #include diff --git a/libc/include/scram.h b/libc/include/scram.h index aaca2927..43ef2e70 100644 --- a/libc/include/scram.h +++ b/libc/include/scram.h @@ -17,8 +17,8 @@ * Emergency process shutdown. */ -#ifndef _SCRAM_H -#define _SCRAM_H +#ifndef _INCLUDE_SCRAM_H +#define _INCLUDE_SCRAM_H #include diff --git a/libc/include/semaphore.h b/libc/include/semaphore.h index f0ab92f9..a718ad5e 100644 --- a/libc/include/semaphore.h +++ b/libc/include/semaphore.h @@ -17,8 +17,8 @@ * Semaphore API. */ -#ifndef INCLUDE_SEMAPHORE_H -#define INCLUDE_SEMAPHORE_H +#ifndef _INCLUDE_SEMAPHORE_H +#define _INCLUDE_SEMAPHORE_H #include diff --git a/libc/include/setjmp.h b/libc/include/setjmp.h index aff7cd83..741618fd 100644 --- a/libc/include/setjmp.h +++ b/libc/include/setjmp.h @@ -17,8 +17,8 @@ * Stack environment declarations. */ -#ifndef _SETJMP_H -#define _SETJMP_H 1 +#ifndef _INCLUDE_SETJMP_H +#define _INCLUDE_SETJMP_H #include diff --git a/libc/include/sha2.h b/libc/include/sha2.h index 49d35b6f..991eb665 100644 --- a/libc/include/sha2.h +++ b/libc/include/sha2.h @@ -34,8 +34,8 @@ * $From: sha2.h,v 1.1 2001/11/08 00:02:01 adg Exp adg $ */ -#ifndef _SHA2_H -#define _SHA2_H +#ifndef _INCLUDE_SHA2_H +#define _INCLUDE_SHA2_H #include #include @@ -128,4 +128,4 @@ char *SHA512_256Data(const uint8_t *, size_t, char *); } /* extern "C" */ #endif -#endif /* _SHA2_H */ +#endif /* _INCLUDE_SHA2_H */ diff --git a/libc/include/signal.h b/libc/include/signal.h index 43ef3644..a3778808 100644 --- a/libc/include/signal.h +++ b/libc/include/signal.h @@ -17,8 +17,8 @@ * Signal API. */ -#ifndef INCLUDE_SIGNAL_H -#define INCLUDE_SIGNAL_H +#ifndef _INCLUDE_SIGNAL_H +#define _INCLUDE_SIGNAL_H #include diff --git a/libc/include/stdint.h b/libc/include/stdint.h index 42e8a10f..d4d605cf 100644 --- a/libc/include/stdint.h +++ b/libc/include/stdint.h @@ -17,8 +17,8 @@ * Integer types. */ -#ifndef INCLUDE_STDINT_H -#define INCLUDE_STDINT_H +#ifndef _INCLUDE_STDINT_H +#define _INCLUDE_STDINT_H #include diff --git a/libc/include/stdio.h b/libc/include/stdio.h index 020f1e9b..3ca62bc2 100644 --- a/libc/include/stdio.h +++ b/libc/include/stdio.h @@ -17,8 +17,8 @@ * Standard buffered input/output. */ -#ifndef INCLUDE_STDIO_H -#define INCLUDE_STDIO_H +#ifndef _INCLUDE_STDIO_H +#define _INCLUDE_STDIO_H #include diff --git a/libc/include/stdio_ext.h b/libc/include/stdio_ext.h index dbf07458..b9be1875 100644 --- a/libc/include/stdio_ext.h +++ b/libc/include/stdio_ext.h @@ -17,8 +17,8 @@ * Extensions to stdio.h introduced by Solaris and glibc. */ -#ifndef _STDIO_EXT_H -#define _STDIO_EXT_H 1 +#ifndef _INCLUDE_STDIO_EXT_H +#define _INCLUDE_STDIO_EXT_H #include diff --git a/libc/include/stdlib.h b/libc/include/stdlib.h index 82edcf79..51d93c92 100644 --- a/libc/include/stdlib.h +++ b/libc/include/stdlib.h @@ -17,8 +17,8 @@ * Standard library definitions. */ -#ifndef _STDLIB_H -#define _STDLIB_H 1 +#ifndef _INCLUDE_STDLIB_H +#define _INCLUDE_STDLIB_H #include diff --git a/libc/include/string.h b/libc/include/string.h index 882ca6a9..d901b038 100644 --- a/libc/include/string.h +++ b/libc/include/string.h @@ -17,8 +17,8 @@ * String operations. */ -#ifndef INCLUDE_STRING_H -#define INCLUDE_STRING_H +#ifndef _INCLUDE_STRING_H +#define _INCLUDE_STRING_H #include diff --git a/libc/include/strings.h b/libc/include/strings.h index 90294b90..20e9da35 100644 --- a/libc/include/strings.h +++ b/libc/include/strings.h @@ -18,8 +18,8 @@ * either been obsoleted or merged into string.h. */ -#ifndef INCLUDE_STRINGS_H -#define INCLUDE_STRINGS_H +#ifndef _INCLUDE_STRINGS_H +#define _INCLUDE_STRINGS_H /* Simply include the standard header that will provide the functions. */ #include diff --git a/libc/include/sys/__/types.h b/libc/include/sys/__/types.h index 4b4981f7..1637521e 100644 --- a/libc/include/sys/__/types.h +++ b/libc/include/sys/__/types.h @@ -17,8 +17,8 @@ * Data types. */ -#ifndef INCLUDE_SYS____TYPES_H -#define INCLUDE_SYS____TYPES_H +#ifndef _INCLUDE_SYS____TYPES_H +#define _INCLUDE_SYS____TYPES_H #include diff --git a/libc/include/sys/cdefs.h b/libc/include/sys/cdefs.h index ef482084..69890e9a 100644 --- a/libc/include/sys/cdefs.h +++ b/libc/include/sys/cdefs.h @@ -17,8 +17,8 @@ * Declares internal macros for the C programming language. */ -#ifndef INCLUDE_SYS_CDEFS_H -#define INCLUDE_SYS_CDEFS_H +#ifndef _INCLUDE_SYS_CDEFS_H +#define _INCLUDE_SYS_CDEFS_H #include diff --git a/libc/include/sys/display.h b/libc/include/sys/display.h index 240cf62f..52fed8c1 100644 --- a/libc/include/sys/display.h +++ b/libc/include/sys/display.h @@ -17,8 +17,8 @@ * Display message passing. */ -#ifndef INCLUDE_SYS_DISPLAY_H -#define INCLUDE_SYS_DISPLAY_H +#ifndef _INCLUDE_SYS_DISPLAY_H +#define _INCLUDE_SYS_DISPLAY_H #include diff --git a/libc/include/sys/dnsconfig.h b/libc/include/sys/dnsconfig.h index 5af9daab..732e833f 100644 --- a/libc/include/sys/dnsconfig.h +++ b/libc/include/sys/dnsconfig.h @@ -17,8 +17,8 @@ * Domain name system configuration. */ -#ifndef INCLUDE_SYS_DNSCONFIG_H -#define INCLUDE_SYS_DNSCONFIG_H +#ifndef _INCLUDE_SYS_DNSCONFIG_H +#define _INCLUDE_SYS_DNSCONFIG_H #include diff --git a/libc/include/sys/futex.h b/libc/include/sys/futex.h index 053f1526..a8e97dfe 100644 --- a/libc/include/sys/futex.h +++ b/libc/include/sys/futex.h @@ -17,8 +17,8 @@ * Fast userspace mutexes. */ -#ifndef _SYS_FUTEX_H -#define _SYS_FUTEX_H 1 +#ifndef _INCLUDE_SYS_FUTEX_H +#define _INCLUDE_SYS_FUTEX_H #include diff --git a/libc/include/sys/ioctl.h b/libc/include/sys/ioctl.h index ab573c1f..8b0b14a7 100644 --- a/libc/include/sys/ioctl.h +++ b/libc/include/sys/ioctl.h @@ -17,8 +17,8 @@ * Miscellaneous device control interface. */ -#ifndef INCLUDE_SYS_IOCTL_H -#define INCLUDE_SYS_IOCTL_H +#ifndef _INCLUDE_SYS_IOCTL_H +#define _INCLUDE_SYS_IOCTL_H #include diff --git a/libc/include/sys/kernelinfo.h b/libc/include/sys/kernelinfo.h index 74d7ea69..07bb28db 100644 --- a/libc/include/sys/kernelinfo.h +++ b/libc/include/sys/kernelinfo.h @@ -17,8 +17,8 @@ * Queries information about the kernel. */ -#ifndef _SYS_KERNELINFO_H -#define _SYS_KERNELINFO_H 1 +#ifndef _INCLUDE_SYS_KERNELINFO_H +#define _INCLUDE_SYS_KERNELINFO_H #include diff --git a/libc/include/sys/keycodes.h b/libc/include/sys/keycodes.h index f477fec2..066f6cd5 100644 --- a/libc/include/sys/keycodes.h +++ b/libc/include/sys/keycodes.h @@ -17,8 +17,8 @@ * Defines codes for every logical key on keyboards. */ -#ifndef INCLUDE_SYS_KEYCODES_H -#define INCLUDE_SYS_KEYCODES_H +#ifndef _INCLUDE_SYS_KEYCODES_H +#define _INCLUDE_SYS_KEYCODES_H #include diff --git a/libc/include/sys/mman.h b/libc/include/sys/mman.h index 09964e2d..b2b1cc5b 100644 --- a/libc/include/sys/mman.h +++ b/libc/include/sys/mman.h @@ -17,8 +17,8 @@ * Memory management declarations. */ -#ifndef INCLUDE_SYS_MMAN_H -#define INCLUDE_SYS_MMAN_H +#ifndef _INCLUDE_SYS_MMAN_H +#define _INCLUDE_SYS_MMAN_H #include diff --git a/libc/include/sys/mount.h b/libc/include/sys/mount.h index 316a44dc..cf9577af 100644 --- a/libc/include/sys/mount.h +++ b/libc/include/sys/mount.h @@ -17,8 +17,8 @@ * Filesystem mount functionality. */ -#ifndef INCLUDE_SYS_MOUNT_H -#define INCLUDE_SYS_MOUNT_H +#ifndef _INCLUDE_SYS_MOUNT_H +#define _INCLUDE_SYS_MOUNT_H #include diff --git a/libc/include/sys/ps2mouse.h b/libc/include/sys/ps2mouse.h index 8185ff31..738b04a2 100644 --- a/libc/include/sys/ps2mouse.h +++ b/libc/include/sys/ps2mouse.h @@ -17,8 +17,8 @@ * Defines macros for the PS/2 mouse protocol. */ -#ifndef INCLUDE_SYS_PS2MOUSE_H -#define INCLUDE_SYS_PS2MOUSE_H +#ifndef _INCLUDE_SYS_PS2MOUSE_H +#define _INCLUDE_SYS_PS2MOUSE_H #include diff --git a/libc/include/sys/readdirents.h b/libc/include/sys/readdirents.h index adebea1c..71ba67b1 100644 --- a/libc/include/sys/readdirents.h +++ b/libc/include/sys/readdirents.h @@ -17,8 +17,8 @@ * Allows reading directory entries directly from a file descriptor. */ -#ifndef _SYS_READDIRENTS_H -#define _SYS_READDIRENTS_H 1 +#ifndef _INCLUDE_SYS_READDIRENTS_H +#define _INCLUDE_SYS_READDIRENTS_H #include diff --git a/libc/include/sys/resource.h b/libc/include/sys/resource.h index 18d7af98..5d2fa420 100644 --- a/libc/include/sys/resource.h +++ b/libc/include/sys/resource.h @@ -17,8 +17,8 @@ * Resource limits and operations. */ -#ifndef INCLUDE_SYS_RESOURCE_H -#define INCLUDE_SYS_RESOURCE_H +#ifndef _INCLUDE_SYS_RESOURCE_H +#define _INCLUDE_SYS_RESOURCE_H #include diff --git a/libc/include/sys/select.h b/libc/include/sys/select.h index 9444eb69..f2cab8a3 100644 --- a/libc/include/sys/select.h +++ b/libc/include/sys/select.h @@ -18,8 +18,8 @@ */ -#ifndef _SYS_SELECT_H -#define _SYS_SELECT_H 1 +#ifndef _INCLUDE_SYS_SELECT_H +#define _INCLUDE_SYS_SELECT_H #include diff --git a/libc/include/sys/socket.h b/libc/include/sys/socket.h index cfb67ce2..f75f8cb4 100644 --- a/libc/include/sys/socket.h +++ b/libc/include/sys/socket.h @@ -17,8 +17,8 @@ * Main sockets header. */ -#ifndef _SYS_SOCKET_H -#define _SYS_SOCKET_H 1 +#ifndef _INCLUDE_SYS_SOCKET_H +#define _INCLUDE_SYS_SOCKET_H #include diff --git a/libc/include/sys/stat.h b/libc/include/sys/stat.h index d01e2050..b11cfe3f 100644 --- a/libc/include/sys/stat.h +++ b/libc/include/sys/stat.h @@ -17,8 +17,8 @@ * Data returned by the stat() function. */ -#ifndef INCLUDE_SYS_STAT_H -#define INCLUDE_SYS_STAT_H +#ifndef _INCLUDE_SYS_STAT_H +#define _INCLUDE_SYS_STAT_H #include diff --git a/libc/include/sys/statvfs.h b/libc/include/sys/statvfs.h index be8abc4d..c7b510bb 100644 --- a/libc/include/sys/statvfs.h +++ b/libc/include/sys/statvfs.h @@ -17,8 +17,8 @@ * Virtual filesystem information structure. */ -#ifndef INCLUDE_SYS_STATVFS_H -#define INCLUDE_SYS_STATVFS_H +#ifndef _INCLUDE_SYS_STATVFS_H +#define _INCLUDE_SYS_STATVFS_H #include diff --git a/libc/include/sys/syscall.h b/libc/include/sys/syscall.h index 20c80827..6f6c78d3 100644 --- a/libc/include/sys/syscall.h +++ b/libc/include/sys/syscall.h @@ -17,8 +17,8 @@ * Functions and macros for declaring system call stubs. */ -#ifndef INCLUDE_SYS_SYSCALL_H -#define INCLUDE_SYS_SYSCALL_H +#ifndef _INCLUDE_SYS_SYSCALL_H +#define _INCLUDE_SYS_SYSCALL_H #ifdef __is_sortix_libk #error "This file is part of user-space and should not be built into libk" diff --git a/libc/include/sys/termmode.h b/libc/include/sys/termmode.h index 408890f6..83a63c5f 100644 --- a/libc/include/sys/termmode.h +++ b/libc/include/sys/termmode.h @@ -17,8 +17,8 @@ * Provides access to the various modes Sortix terminals can operate in. */ -#ifndef INCLUDE_SYS_TERMMODE_H -#define INCLUDE_SYS_TERMMODE_H +#ifndef _INCLUDE_SYS_TERMMODE_H +#define _INCLUDE_SYS_TERMMODE_H #include diff --git a/libc/include/sys/time.h b/libc/include/sys/time.h index 38310abf..930140ae 100644 --- a/libc/include/sys/time.h +++ b/libc/include/sys/time.h @@ -17,8 +17,8 @@ * Time types. */ -#ifndef _SYS_TIME_H -#define _SYS_TIME_H 1 +#ifndef _INCLUDE_SYS_TIME_H +#define _INCLUDE_SYS_TIME_H #include diff --git a/libc/include/sys/times.h b/libc/include/sys/times.h index 7fad4a0d..ae44f630 100644 --- a/libc/include/sys/times.h +++ b/libc/include/sys/times.h @@ -17,8 +17,8 @@ * Declaration for the times function. */ -#ifndef INCLUDE_SYS_TIMES_H -#define INCLUDE_SYS_TIMES_H +#ifndef _INCLUDE_SYS_TIMES_H +#define _INCLUDE_SYS_TIMES_H #include diff --git a/libc/include/sys/types.h b/libc/include/sys/types.h index 47992a28..e398fb43 100644 --- a/libc/include/sys/types.h +++ b/libc/include/sys/types.h @@ -17,8 +17,8 @@ * Data types. */ -#ifndef INCLUDE_SYS_TYPES_H -#define INCLUDE_SYS_TYPES_H +#ifndef _INCLUDE_SYS_TYPES_H +#define _INCLUDE_SYS_TYPES_H #include diff --git a/libc/include/sys/uio.h b/libc/include/sys/uio.h index b486dcaf..3bf197b2 100644 --- a/libc/include/sys/uio.h +++ b/libc/include/sys/uio.h @@ -17,8 +17,8 @@ * Vector IO operations. */ -#ifndef INCLUDE_SYS_UIO_H -#define INCLUDE_SYS_UIO_H +#ifndef _INCLUDE_SYS_UIO_H +#define _INCLUDE_SYS_UIO_H #include diff --git a/libc/include/sys/un.h b/libc/include/sys/un.h index 0bd8d243..62ca9ae6 100644 --- a/libc/include/sys/un.h +++ b/libc/include/sys/un.h @@ -17,8 +17,8 @@ * Unix domain socket definitions. */ -#ifndef _SYS_UN_H -#define _SYS_UN_H 1 +#ifndef _INCLUDE_SYS_UN_H +#define _INCLUDE_SYS_UN_H #include diff --git a/libc/include/sys/utsname.h b/libc/include/sys/utsname.h index 44537661..2022710b 100644 --- a/libc/include/sys/utsname.h +++ b/libc/include/sys/utsname.h @@ -17,8 +17,8 @@ * System name structure. */ -#ifndef INCLUDE_SYS_UTSNAME_H -#define INCLUDE_SYS_UTSNAME_H +#ifndef _INCLUDE_SYS_UTSNAME_H +#define _INCLUDE_SYS_UTSNAME_H #include diff --git a/libc/include/sys/wait.h b/libc/include/sys/wait.h index 75e3c867..eb0fe6ab 100644 --- a/libc/include/sys/wait.h +++ b/libc/include/sys/wait.h @@ -17,8 +17,8 @@ * Declarations for waiting. */ -#ifndef INCLUDE_SYS_WAIT_H -#define INCLUDE_SYS_WAIT_H 1 +#ifndef _INCLUDE_SYS_WAIT_H +#define _INCLUDE_SYS_WAIT_H #include diff --git a/libc/include/syslog.h b/libc/include/syslog.h index fd7b7b94..25494f1d 100644 --- a/libc/include/syslog.h +++ b/libc/include/syslog.h @@ -17,8 +17,8 @@ * System error logging facility. */ -#ifndef INCLUDE_SYSLOG_H -#define INCLUDE_SYSLOG_H +#ifndef _INCLUDE_SYSLOG_H +#define _INCLUDE_SYSLOG_H #include diff --git a/libc/include/system-elf.h b/libc/include/system-elf.h index 99736861..3376066f 100644 --- a/libc/include/system-elf.h +++ b/libc/include/system-elf.h @@ -17,8 +17,8 @@ * Executable and Linkable Format for the local system. */ -#ifndef INCLUDE_SYSTEM_ELF_H -#define INCLUDE_SYSTEM_ELF_H +#ifndef _INCLUDE_SYSTEM_ELF_H +#define _INCLUDE_SYSTEM_ELF_H #include diff --git a/libc/include/termios.h b/libc/include/termios.h index 596565ed..a801d53f 100644 --- a/libc/include/termios.h +++ b/libc/include/termios.h @@ -19,8 +19,8 @@ /* TODO: POSIX-1.2008 compliance is only partial */ -#ifndef INCLUDE_TERMIOS_H -#define INCLUDE_TERMIOS_H +#ifndef _INCLUDE_TERMIOS_H +#define _INCLUDE_TERMIOS_H #include diff --git a/libc/include/time.h b/libc/include/time.h index bd221a09..e1815caf 100644 --- a/libc/include/time.h +++ b/libc/include/time.h @@ -17,8 +17,8 @@ * Time declarations. */ -#ifndef INCLUDE_TIME_H -#define INCLUDE_TIME_H +#ifndef _INCLUDE_TIME_H +#define _INCLUDE_TIME_H #include diff --git a/libc/include/timespec.h b/libc/include/timespec.h index ddbbc946..b82f3049 100644 --- a/libc/include/timespec.h +++ b/libc/include/timespec.h @@ -17,8 +17,8 @@ * Utility functions for manipulation of struct timespec. */ -#ifndef INCLUDE_TIMESPEC_H -#define INCLUDE_TIMESPEC_H +#ifndef _INCLUDE_TIMESPEC_H +#define _INCLUDE_TIMESPEC_H #include diff --git a/libc/include/unistd.h b/libc/include/unistd.h index b73742b4..41e57789 100644 --- a/libc/include/unistd.h +++ b/libc/include/unistd.h @@ -17,8 +17,8 @@ * Standard symbolic constants and types. */ -#ifndef INCLUDE_UNISTD_H -#define INCLUDE_UNISTD_H +#ifndef _INCLUDE_UNISTD_H +#define _INCLUDE_UNISTD_H #include diff --git a/libc/include/utime.h b/libc/include/utime.h index 9cfe0603..a470d1a7 100644 --- a/libc/include/utime.h +++ b/libc/include/utime.h @@ -17,8 +17,8 @@ * Deprecated interface to change the file access and moficiation times. */ -#ifndef INCLUDE_UTIME_H -#define INCLUDE_UTIME_H +#ifndef _INCLUDE_UTIME_H +#define _INCLUDE_UTIME_H #include diff --git a/libc/include/wchar.h b/libc/include/wchar.h index 24a67f00..429632c3 100644 --- a/libc/include/wchar.h +++ b/libc/include/wchar.h @@ -17,8 +17,8 @@ * Wide character support. */ -#ifndef INCLUDE_WCHAR_H -#define INCLUDE_WCHAR_H +#ifndef _INCLUDE_WCHAR_H +#define _INCLUDE_WCHAR_H #include diff --git a/libc/include/wctype.h b/libc/include/wctype.h index 07c1cbdc..e005d04e 100644 --- a/libc/include/wctype.h +++ b/libc/include/wctype.h @@ -17,8 +17,8 @@ * Wide-character classification and mapping utilities */ -#ifndef _WCTYPE_H -#define _WCTYPE_H 1 +#ifndef _INCLUDE_WCTYPE_H +#define _INCLUDE_WCTYPE_H #include diff --git a/libm/include/__/math.h b/libm/include/__/math.h index b90ea3d7..716aa949 100644 --- a/libm/include/__/math.h +++ b/libm/include/__/math.h @@ -23,8 +23,8 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#ifndef INCLUDE____MATH_H -#define INCLUDE____MATH_H +#ifndef _INCLUDE____MATH_H +#define _INCLUDE____MATH_H #include diff --git a/libm/include/complex.h b/libm/include/complex.h index 8d577776..996030c4 100644 --- a/libm/include/complex.h +++ b/libm/include/complex.h @@ -5,8 +5,8 @@ * Public domain. */ -#ifndef INCLUDE_COMPLEX_H -#define INCLUDE_COMPLEX_H +#ifndef _INCLUDE_COMPLEX_H +#define _INCLUDE_COMPLEX_H #include @@ -123,4 +123,4 @@ long double creall(long double complex); } /* extern "C" */ #endif -#endif /* !INCLUDE_COMPLEX_H */ +#endif /* !_INCLUDE_COMPLEX_H */ diff --git a/libm/include/fenv.h b/libm/include/fenv.h index 578f788f..bb5ddadc 100644 --- a/libm/include/fenv.h +++ b/libm/include/fenv.h @@ -25,8 +25,8 @@ * POSSIBILITY OF SUCH DAMAGE. */ -#ifndef INCLUDE_FENV_H -#define INCLUDE_FENV_H +#ifndef _INCLUDE_FENV_H +#define _INCLUDE_FENV_H #include @@ -65,4 +65,4 @@ int fegetexcept(void); } /* extern "C" */ #endif -#endif /* ! INCLUDE_FENV_H */ +#endif /* ! _INCLUDE_FENV_H */ diff --git a/libm/include/ieee754.h b/libm/include/ieee754.h index 8d141013..38a19714 100644 --- a/libm/include/ieee754.h +++ b/libm/include/ieee754.h @@ -23,8 +23,8 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#ifndef INCLUDE_IEEE754_H -#define INCLUDE_IEEE754_H +#ifndef _INCLUDE_IEEE754_H +#define _INCLUDE_IEEE754_H #include diff --git a/libm/include/ieeefp.h b/libm/include/ieeefp.h index a55af7a2..5ba1bbf5 100644 --- a/libm/include/ieeefp.h +++ b/libm/include/ieeefp.h @@ -5,8 +5,8 @@ * Public domain. */ -#ifndef INCLUDE_IEEEFP_H -#define INCLUDE_IEEEFP_H +#ifndef _INCLUDE_IEEEFP_H +#define _INCLUDE_IEEEFP_H #include @@ -67,4 +67,4 @@ fp_except_t fpresetsticky(fp_except_t); } /* extern "C" */ #endif -#endif /* INCLUDE_IEEEFP_H */ +#endif /* _INCLUDE_IEEEFP_H */ diff --git a/libm/include/math.h b/libm/include/math.h index e1657241..41cce041 100644 --- a/libm/include/math.h +++ b/libm/include/math.h @@ -23,8 +23,8 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#ifndef INCLUDE_MATH_H -#define INCLUDE_MATH_H +#ifndef _INCLUDE_MATH_H +#define _INCLUDE_MATH_H #include diff --git a/libm/include/tgmath.h b/libm/include/tgmath.h index 2bc397c0..93663bb0 100644 --- a/libm/include/tgmath.h +++ b/libm/include/tgmath.h @@ -27,8 +27,8 @@ * POSSIBILITY OF SUCH DAMAGE. */ -#ifndef INCLUDE_TGMATH_H -#define INCLUDE_TGMATH_H +#ifndef _INCLUDE_TGMATH_H +#define _INCLUDE_TGMATH_H #include diff --git a/libm/src/math_private.h b/libm/src/math_private.h index f5ecf7b4..4598f90e 100644 --- a/libm/src/math_private.h +++ b/libm/src/math_private.h @@ -173,7 +173,7 @@ do { \ } while (/*CONSTCOND*/0) #endif -#ifdef INCLUDE_COMPLEX_H +#ifdef _INCLUDE_COMPLEX_H /* * Quoting from ISO/IEC 9899:TC2: @@ -202,7 +202,7 @@ typedef union { #define REAL_PART(z) ((z).parts[0]) #define IMAG_PART(z) ((z).parts[1]) -#endif /* _COMPLEX_H */ +#endif /* _INCLUDE_COMPLEX_H */ /* ieee style elementary functions */ extern double __ieee754_sqrt(double);