Everywhere: Refer to dlfcn*.h by its non-prefixed name

This commit is contained in:
Tim Schumacher 2022-08-13 20:49:58 +02:00 committed by Linus Groh
parent 9b728fbe56
commit 27bfb81702
Notes: sideshowbarker 2024-07-17 07:31:04 +09:00
8 changed files with 12 additions and 16 deletions

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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