mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
Fix libc function implementations without extern "C" linkage.
This commit is contained in:
parent
7c3df4e4f7
commit
bfc8570bb8
5 changed files with 15 additions and 13 deletions
|
@ -30,6 +30,7 @@
|
|||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
||||
extern "C"
|
||||
char* realpath(const char* restrict path, char* restrict resolved_path)
|
||||
{
|
||||
char* ret_path = canonicalize_file_name(path);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue