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:
parent
d575cfda61
commit
3281050359
21 changed files with 45 additions and 31 deletions
|
@ -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>
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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**)
|
||||
{
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue