diff options
author | Roland McGrath <roland@gnu.org> | 1995-09-28 09:00:19 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1995-09-28 09:00:19 +0000 |
commit | 3ec41e0302fb7b3910edecfd30c97edba3a6e282 (patch) | |
tree | 64126b756c37dfcbca2564779896601d4fbed800 /sysdeps/mach/hurd | |
parent | f94f8067b18803b47153fa0f8f67fe5763a1cd3b (diff) | |
download | glibc-3ec41e0302fb7b3910edecfd30c97edba3a6e282.tar.gz |
* sysdeps/mach/hurd/getcwd.c (__getcwd): Renamed from getcwd.
(getcwd): Define as weak alias.
* sysdeps/posix/getcwd.c: Likewise.
* sysdeps/stub/getcwd.c: Likewise.
* posix/unistd.h: Declare __getcwd.
* string/string.h: Declare __strcasecmp.
* sysdeps/generic/strcasecmp.c (__strcasecmp): Renamed from
strcasecmp.
(strcasecmp): Define as weak alias.
* string/string.h: Declare __stpcpy.
* sysdeps/generic/stpcpy.c (__stpcpy): Renamed from stpcpy.
(stpcpy): Define as weak alias.
Diffstat (limited to 'sysdeps/mach/hurd')
-rw-r--r-- | sysdeps/mach/hurd/getcwd.c | 5 |
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) |