diff options
author | Ben Wiederhake <BenWiederhake.GitHub@gmx.de> | 2023-01-03 15:30:44 +0100 |
---|---|---|
committer | Andrew Kaster <andrewdkaster@gmail.com> | 2023-01-07 10:01:37 -0700 |
commit | 32810503595a83d3bb4c709759224223f2137e0c (patch) | |
tree | b39d1699b31e65501c869f70ad51b47603b08508 /Userland/Libraries/LibC | |
parent | d575cfda613197a7e090ee8dee053e48df17d730 (diff) | |
download | serenity-32810503595a83d3bb4c709759224223f2137e0c.zip |
Everywhere: Remove "LibC/" includes, add lint-rule against it
Diffstat (limited to 'Userland/Libraries/LibC')
-rw-r--r-- | Userland/Libraries/LibC/bits/stdio_file_implementation.h | 6 | ||||
-rw-r--r-- | Userland/Libraries/LibC/cxxabi.cpp | 4 | ||||
-rw-r--r-- | Userland/Libraries/LibC/ifaddrs.cpp | 4 | ||||
-rw-r--r-- | Userland/Libraries/LibC/math.cpp | 2 | ||||
-rw-r--r-- | Userland/Libraries/LibC/net.cpp | 6 | ||||
-rw-r--r-- | Userland/Libraries/LibC/stdio.cpp | 4 |
6 files changed, 13 insertions, 13 deletions
diff --git a/Userland/Libraries/LibC/bits/stdio_file_implementation.h b/Userland/Libraries/LibC/bits/stdio_file_implementation.h index 555cdcbc97..2bf8aa2e20 100644 --- a/Userland/Libraries/LibC/bits/stdio_file_implementation.h +++ b/Userland/Libraries/LibC/bits/stdio_file_implementation.h @@ -9,9 +9,9 @@ #include <AK/Array.h> #include <AK/IntrusiveList.h> #include <AK/Types.h> -#include <LibC/bits/FILE.h> -#include <LibC/bits/pthread_integration.h> -#include <LibC/bits/wchar.h> +#include <bits/FILE.h> +#include <bits/pthread_integration.h> +#include <bits/wchar.h> #include <pthread.h> #include <sys/types.h> diff --git a/Userland/Libraries/LibC/cxxabi.cpp b/Userland/Libraries/LibC/cxxabi.cpp index 4da6b2fe14..6b23aec013 100644 --- a/Userland/Libraries/LibC/cxxabi.cpp +++ b/Userland/Libraries/LibC/cxxabi.cpp @@ -9,9 +9,9 @@ #include <AK/Debug.h> #include <AK/Format.h> #include <AK/NeverDestroyed.h> -#include <LibC/bits/pthread_integration.h> -#include <LibC/mallocdefs.h> #include <assert.h> +#include <bits/pthread_integration.h> +#include <mallocdefs.h> #include <pthread.h> #include <stdio.h> #include <stdlib.h> diff --git a/Userland/Libraries/LibC/ifaddrs.cpp b/Userland/Libraries/LibC/ifaddrs.cpp index a42345a6e4..697579a3b6 100644 --- a/Userland/Libraries/LibC/ifaddrs.cpp +++ b/Userland/Libraries/LibC/ifaddrs.cpp @@ -4,8 +4,8 @@ * SPDX-License-Identifier: BSD-2-Clause */ -#include <LibC/errno.h> -#include <LibC/ifaddrs.h> +#include <errno.h> +#include <ifaddrs.h> int getifaddrs(struct ifaddrs**) { diff --git a/Userland/Libraries/LibC/math.cpp b/Userland/Libraries/LibC/math.cpp index ada821963a..f7ad62996e 100644 --- a/Userland/Libraries/LibC/math.cpp +++ b/Userland/Libraries/LibC/math.cpp @@ -16,7 +16,7 @@ #include <AK/Math.h> #include <AK/Platform.h> #include <AK/StdLibExtras.h> -#include <LibC/assert.h> +#include <assert.h> #include <fenv.h> #include <math.h> #include <stdint.h> diff --git a/Userland/Libraries/LibC/net.cpp b/Userland/Libraries/LibC/net.cpp index 9a6b113529..f147c6bb23 100644 --- a/Userland/Libraries/LibC/net.cpp +++ b/Userland/Libraries/LibC/net.cpp @@ -4,9 +4,9 @@ * SPDX-License-Identifier: BSD-2-Clause */ -#include <LibC/errno.h> -#include <LibC/net/if.h> -#include <LibC/netinet/in.h> +#include <errno.h> +#include <net/if.h> +#include <netinet/in.h> const in6_addr in6addr_any = IN6ADDR_ANY_INIT; const in6_addr in6addr_loopback = IN6ADDR_LOOPBACK_INIT; diff --git a/Userland/Libraries/LibC/stdio.cpp b/Userland/Libraries/LibC/stdio.cpp index ed34dd8101..4546a533c6 100644 --- a/Userland/Libraries/LibC/stdio.cpp +++ b/Userland/Libraries/LibC/stdio.cpp @@ -11,9 +11,9 @@ #include <AK/PrintfImplementation.h> #include <AK/ScopedValueRollback.h> #include <AK/StdLibExtras.h> -#include <LibC/bits/mutex_locker.h> -#include <LibC/bits/stdio_file_implementation.h> #include <assert.h> +#include <bits/mutex_locker.h> +#include <bits/stdio_file_implementation.h> #include <errno.h> #include <fcntl.h> #include <stdarg.h> |