diff options
Diffstat (limited to 'sysdeps/mach/hurd/getcwd.c')
-rw-r--r-- | sysdeps/mach/hurd/getcwd.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/sysdeps/mach/hurd/getcwd.c b/sysdeps/mach/hurd/getcwd.c index f6ca3dd9e3..c30b7c507b 100644 --- a/sysdeps/mach/hurd/getcwd.c +++ b/sysdeps/mach/hurd/getcwd.c @@ -37,7 +37,7 @@ a slash to indicate that it is relative to some unknown root directory. */ char * -_hurd_canonicalize_directory_name_internal (file_t thisdir, +__hurd_canonicalize_directory_name_internal (file_t thisdir, char *buf, size_t size) { @@ -282,6 +282,7 @@ _hurd_canonicalize_directory_name_internal (file_t thisdir, cleanup (); return NULL; } +strong_alias (__hurd_canonicalize_directory_name_internal, _hurd_canonicalize_directory_name_internal) char * __canonicalize_directory_name_internal (const char *thisdir, char *buf, @@ -291,7 +292,7 @@ __canonicalize_directory_name_internal (const char *thisdir, char *buf, file_t port = __file_name_lookup (thisdir, 0, 0); if (port == MACH_PORT_NULL) return NULL; - result = _hurd_canonicalize_directory_name_internal (port, buf, size); + result = __hurd_canonicalize_directory_name_internal (port, buf, size); __mach_port_deallocate (__mach_task_self (), port); return result; } @@ -306,8 +307,8 @@ __getcwd (char *buf, size_t size) { char *cwd = __USEPORT (CWDIR, - _hurd_canonicalize_directory_name_internal (port, - buf, size)); + __hurd_canonicalize_directory_name_internal (port, + buf, size)); if (cwd && cwd[0] != '/') { /* `cwd' is an unknown root directory. */ |