summaryrefslogtreecommitdiff
path: root/posix
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1995-09-28 09:00:19 +0000
committerRoland McGrath <roland@gnu.org>1995-09-28 09:00:19 +0000
commit3ec41e0302fb7b3910edecfd30c97edba3a6e282 (patch)
tree64126b756c37dfcbca2564779896601d4fbed800 /posix
parentf94f8067b18803b47153fa0f8f67fe5763a1cd3b (diff)
* 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 'posix')
-rw-r--r--posix/unistd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/posix/unistd.h b/posix/unistd.h
index 846653c75c..ffd83b2b1e 100644
--- a/posix/unistd.h
+++ b/posix/unistd.h
@@ -216,6 +216,7 @@ extern int fchdir __P ((int __fd));
an array is allocated with `malloc'; the array is SIZE
bytes long, unless SIZE <= 0, in which case it is as
big as necessary. */
+extern char *__getcwd __P ((char *__buf, size_t __size));
extern char *getcwd __P ((char *__buf, size_t __size));
#ifdef __USE_GNU