diff options
author | Lenny Maiorani <lenny@serenityos.org> | 2022-02-09 09:15:55 -0700 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-02-09 17:59:19 +0000 |
commit | 138d54e59503c6d6abebc71b8fcb87aa12f45945 (patch) | |
tree | ea796848e36f6d62d9da91cb22920095fdc125af | |
parent | 820e99f97d4ad6de697a89838086f50be9c38661 (diff) | |
download | serenity-138d54e59503c6d6abebc71b8fcb87aa12f45945.zip |
AK+Kernel: Alphabetize debug macros
This is not ASCII-betical because `_` comes after all the uppercase
characters. Treating `_` as a ` ` (space character), these lists are
now alphabetical.
-rw-r--r-- | AK/Debug.h.in | 26 | ||||
-rw-r--r-- | Kernel/Debug.h.in | 25 |
2 files changed, 26 insertions, 25 deletions
diff --git a/AK/Debug.h.in b/AK/Debug.h.in index 894e5354a2..c1ccbef417 100644 --- a/AK/Debug.h.in +++ b/AK/Debug.h.in @@ -1,19 +1,19 @@ /* - * Copyright (c) 2020, the SerenityOS developers. + * Copyright (c) 2020-2022, the SerenityOS developers. * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once -#ifndef AWAVLOADER_DEBUG -#cmakedefine01 AWAVLOADER_DEBUG -#endif - #ifndef AFLACLOADER_DEBUG #cmakedefine01 AFLACLOADER_DEBUG #endif +#ifndef AWAVLOADER_DEBUG +#cmakedefine01 AWAVLOADER_DEBUG +#endif + #ifndef BMP_DEBUG #cmakedefine01 BMP_DEBUG #endif @@ -34,14 +34,14 @@ #cmakedefine01 COPY_DEBUG #endif -#ifndef CPP_LANGUAGE_SERVER_DEBUG -#cmakedefine01 CPP_LANGUAGE_SERVER_DEBUG -#endif - #ifndef CPP_DEBUG #cmakedefine01 CPP_DEBUG #endif +#ifndef CPP_LANGUAGE_SERVER_DEBUG +#cmakedefine01 CPP_LANGUAGE_SERVER_DEBUG +#endif + #ifndef CRYPTO_DEBUG #cmakedefine01 CRYPTO_DEBUG #endif @@ -74,14 +74,14 @@ #cmakedefine01 DEFERRED_INVOKE_DEBUG #endif -#ifndef DHCPV4CLIENT_DEBUG -#cmakedefine01 DHCPV4CLIENT_DEBUG -#endif - #ifndef DHCPV4_DEBUG #cmakedefine01 DHCPV4_DEBUG #endif +#ifndef DHCPV4CLIENT_DEBUG +#cmakedefine01 DHCPV4CLIENT_DEBUG +#endif + #ifndef DIFF_DEBUG #cmakedefine01 DIFF_DEBUG #endif diff --git a/Kernel/Debug.h.in b/Kernel/Debug.h.in index f28ac2309d..06209f9119 100644 --- a/Kernel/Debug.h.in +++ b/Kernel/Debug.h.in @@ -1,5 +1,6 @@ /* * Copyright (c) 2021, Paul Scharnofske + * Copyright (c) 2022, the SerenityOS developers. * * SPDX-License-Identifier: BSD-2-Clause */ @@ -10,6 +11,10 @@ #cmakedefine01 AC97_DEBUG #endif +#ifndef AHCI_DEBUG +#cmakedefine01 AHCI_DEBUG +#endif + #ifndef ACPI_DEBUG #cmakedefine01 ACPI_DEBUG #endif @@ -74,14 +79,14 @@ #cmakedefine01 EXT2_DEBUG #endif -#ifndef FRAMEBUFFER_DEVICE_DEBUG -#cmakedefine01 FRAMEBUFFER_DEVICE_DEBUG -#endif - #ifndef EXT2_VERY_DEBUG #cmakedefine01 EXT2_VERY_DEBUG #endif +#ifndef FRAMEBUFFER_DEVICE_DEBUG +#cmakedefine01 FRAMEBUFFER_DEVICE_DEBUG +#endif + #ifndef FILEDESCRIPTION_DEBUG #cmakedefine01 FILEDESCRIPTION_DEBUG #endif @@ -122,14 +127,14 @@ #cmakedefine01 INTERRUPT_DEBUG #endif -#ifndef IOAPIC_DEBUG -#cmakedefine01 IOAPIC_DEBUG -#endif - #ifndef IO_DEBUG #cmakedefine01 IO_DEBUG #endif +#ifndef IOAPIC_DEBUG +#cmakedefine01 IOAPIC_DEBUG +#endif + #ifndef ISO9660_DEBUG #cmakedefine01 ISO9660_DEBUG #endif @@ -230,10 +235,6 @@ #cmakedefine01 PATA_DEBUG #endif -#ifndef AHCI_DEBUG -#cmakedefine01 AHCI_DEBUG -#endif - #ifndef PCI_DEBUG #cmakedefine01 PCI_DEBUG #endif |