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:
parent
ab9db3a717
commit
631894279b
2 changed files with 11 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue