mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-04 05:20:30 +00:00
Everywhere: Refer to dlfcn*.h
by its non-prefixed name
This commit is contained in:
parent
9b728fbe56
commit
27bfb81702
Notes:
sideshowbarker
2024-07-17 07:31:04 +09:00
Author: https://github.com/timschumi Commit: https://github.com/SerenityOS/serenity/commit/27bfb81702 Pull-request: https://github.com/SerenityOS/serenity/pull/14854
8 changed files with 12 additions and 16 deletions
|
@ -4,8 +4,8 @@
|
|||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
||||
#include <LibDl/dlfcn.h>
|
||||
#include <LibTest/TestCase.h>
|
||||
#include <dlfcn.h>
|
||||
|
||||
TEST_CASE(test_dlopen)
|
||||
{
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
||||
#include <LibDl/dlfcn_integration.h>
|
||||
#include <dlfcn_integration.h>
|
||||
|
||||
// These are used by libdl and are filled in by the dynamic loader.
|
||||
DlCloseFunction __dlclose;
|
||||
|
|
|
@ -5,8 +5,8 @@
|
|||
*/
|
||||
|
||||
#include <AK/Assertions.h>
|
||||
#include <LibDl/dlfcn.h>
|
||||
#include <LibDl/dlfcn_integration.h>
|
||||
#include <dlfcn.h>
|
||||
#include <dlfcn_integration.h>
|
||||
#include <pthread.h>
|
||||
#include <regex.h>
|
||||
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
|
||||
#include <AK/String.h>
|
||||
#include <AK/Types.h>
|
||||
#include <LibDl/dlfcn.h>
|
||||
#include <LibDl/dlfcn_integration.h>
|
||||
#include <dlfcn.h>
|
||||
#include <dlfcn_integration.h>
|
||||
#include <string.h>
|
||||
|
||||
// FIXME: use thread_local and a String once TLS works
|
||||
|
|
|
@ -19,13 +19,13 @@
|
|||
#include <LibC/link.h>
|
||||
#include <LibC/sys/mman.h>
|
||||
#include <LibC/unistd.h>
|
||||
#include <LibDl/dlfcn.h>
|
||||
#include <LibDl/dlfcn_integration.h>
|
||||
#include <LibELF/AuxiliaryVector.h>
|
||||
#include <LibELF/DynamicLinker.h>
|
||||
#include <LibELF/DynamicLoader.h>
|
||||
#include <LibELF/DynamicObject.h>
|
||||
#include <LibELF/Hashes.h>
|
||||
#include <dlfcn.h>
|
||||
#include <dlfcn_integration.h>
|
||||
#include <fcntl.h>
|
||||
#include <pthread.h>
|
||||
#include <string.h>
|
||||
|
|
|
@ -11,13 +11,13 @@
|
|||
#include <AK/Optional.h>
|
||||
#include <AK/QuickSort.h>
|
||||
#include <AK/StringBuilder.h>
|
||||
#include <LibDl/dlfcn.h>
|
||||
#include <LibDl/dlfcn_integration.h>
|
||||
#include <LibELF/DynamicLinker.h>
|
||||
#include <LibELF/DynamicLoader.h>
|
||||
#include <LibELF/Hashes.h>
|
||||
#include <LibELF/Validation.h>
|
||||
#include <assert.h>
|
||||
#include <dlfcn.h>
|
||||
#include <dlfcn_integration.h>
|
||||
#include <errno.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
|
|
@ -12,9 +12,9 @@
|
|||
#include <AK/RefCounted.h>
|
||||
#include <AK/String.h>
|
||||
#include <LibC/elf.h>
|
||||
#include <LibDl/dlfcn_integration.h>
|
||||
#include <LibELF/DynamicObject.h>
|
||||
#include <LibELF/Image.h>
|
||||
#include <dlfcn_integration.h>
|
||||
#include <sys/mman.h>
|
||||
|
||||
namespace ELF {
|
||||
|
|
|
@ -7,12 +7,8 @@
|
|||
#include <AK/HashMap.h>
|
||||
#include <AK/String.h>
|
||||
#include <AK/WeakPtr.h>
|
||||
#ifdef __serenity__
|
||||
# include <LibDl/dlfcn.h>
|
||||
#else
|
||||
# include <dlfcn.h>
|
||||
#endif
|
||||
#include <LibGPU/Driver.h>
|
||||
#include <dlfcn.h>
|
||||
|
||||
namespace GPU {
|
||||
|
||||
|
|
Loading…
Reference in a new issue