1
0
Fork 0
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:
Jonas 'Sortie' Termansen 2014-01-03 18:48:43 +01:00
parent 7c3df4e4f7
commit bfc8570bb8
5 changed files with 15 additions and 13 deletions

View file

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