summaryrefslogtreecommitdiff
path: root/libc/stdlib/realpath.c
diff options
context:
space:
mode:
authorCarmelo Amoroso <carmelo.amoroso@st.com>2010-09-16 12:22:34 +0200
committerCarmelo Amoroso <carmelo.amoroso@st.com>2010-09-16 12:22:34 +0200
commit26606098c2eb57d288b2e0edca471c71d0d7fa51 (patch)
tree8a1ba1d68fd10cbba7a12c70ca9618ac50a33854 /libc/stdlib/realpath.c
parenta9e2521be8c96d2b22339253a0a335e0063b66e5 (diff)
libc: Add canonicalize_file_name function
Add canonicalize_file_name function and its related tests. Required by elfutils and coreutils (readlink). Signed-off-by: Salvatore Cro <salvatore.cro@st.com> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Diffstat (limited to 'libc/stdlib/realpath.c')
-rw-r--r--libc/stdlib/realpath.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/stdlib/realpath.c b/libc/stdlib/realpath.c
index 80c25f098..cf9d45fa2 100644
--- a/libc/stdlib/realpath.c
+++ b/libc/stdlib/realpath.c
@@ -159,3 +159,4 @@ char *realpath(const char *path, char got_path[])
*new_path = '\0';
return got_path;
}
+libc_hidden_def(realpath)