1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 18:17:45 +00:00

Everywhere: Remove "LibC/" includes, add lint-rule against it

This commit is contained in:
Ben Wiederhake 2023-01-03 15:30:44 +01:00 committed by Andrew Kaster
parent d575cfda61
commit 3281050359
21 changed files with 45 additions and 31 deletions

View file

@ -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>

View file

@ -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>

View file

@ -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**)
{

View file

@ -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>

View file

@ -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;

View file

@ -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>