1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 20:47:45 +00:00

LibC: Make dlfcn stubs extern "C" like the outside world expects.

This commit is contained in:
Andreas Kling 2019-05-28 14:30:55 +02:00
parent ab9db3a717
commit 631894279b
2 changed files with 11 additions and 1 deletions

View file

@ -1,5 +1,7 @@
#include "dlfcn.h"
#include <assert.h>
#include <dlfcn.h>
extern "C" {
int dlclose(void*)
{
@ -20,3 +22,5 @@ void *dlsym(void*, const char*)
{
ASSERT_NOT_REACHED();
}
}