about summary refs log tree commit diff
path: root/sysdeps/mach/hurd
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mach/hurd')
-rw-r--r--sysdeps/mach/hurd/getcwd.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sysdeps/mach/hurd/getcwd.c b/sysdeps/mach/hurd/getcwd.c
index c0d9bcd567..caed104bce 100644
--- a/sysdeps/mach/hurd/getcwd.c
+++ b/sysdeps/mach/hurd/getcwd.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1992, 1993, 1994 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1992, 1993, 1994, 1995 Free Software Foundation, Inc.
 This file is part of the GNU C Library.
 
 The GNU C Library is free software; you can redistribute it and/or
@@ -36,7 +36,7 @@ Cambridge, MA 02139, USA.  */
    unless SIZE <= 0, in which case it is as big as necessary.  */
 
 char *
-getcwd (char *buf, size_t size)
+__getcwd (char *buf, size_t size)
 {
   error_t err;
   dev_t rootdev, thisdev;
@@ -248,3 +248,4 @@ getcwd (char *buf, size_t size)
   cleanup ();
   return NULL;
 }
+weak_alias (__getcwd, getcwd)