diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2004-04-10 19:24:55 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2004-04-10 19:24:55 +0000 |
commit | 7224437c6270910a02646147149aaa97de145217 (patch) | |
tree | 9760e4e810a3c7828e42e92d950331dfeec8da4b /winsup/cygwin/winsup.h | |
parent | 56551a9bfbb369e29b12d1b60dc810cd5a3356b9 (diff) | |
download | newlib-7224437c6270910a02646147149aaa97de145217.zip newlib-7224437c6270910a02646147149aaa97de145217.tar.gz newlib-7224437c6270910a02646147149aaa97de145217.tar.bz2 |
* fhandler.cc (rootdir): Add and use second argument.
* winsup.h (rootdir): Add second argument in declaration.
* path.cc (fs_info::update): Modify call to rootdir.
* syscalls.cc (check_posix_perm): Ditto.
(statfs): Ditto. Move syscall_printf near top.
Diffstat (limited to 'winsup/cygwin/winsup.h')
-rw-r--r-- | winsup/cygwin/winsup.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/winsup.h b/winsup/cygwin/winsup.h index 3dbb3ce..3e132a1 100644 --- a/winsup/cygwin/winsup.h +++ b/winsup/cygwin/winsup.h @@ -240,7 +240,7 @@ int __stdcall stat_dev (DWORD, int, unsigned long, struct __stat64 *); __ino64_t __stdcall hash_path_name (__ino64_t hash, const char *name) __attribute__ ((regparm(2))); void __stdcall nofinalslash (const char *src, char *dst) __attribute__ ((regparm(2))); -extern "C" char *__stdcall rootdir (char *full_path) __attribute__ ((regparm(1))); +extern "C" char *__stdcall rootdir (const char *full_path, char *root_path) __attribute__ ((regparm(2))); /* String manipulation */ extern "C" char *__stdcall strccpy (char *s1, const char **s2, char c); |