diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2009-11-02 11:42:04 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2009-11-02 11:42:04 +0000 |
commit | a657970571be50681055aa60289e35f312dea761 (patch) | |
tree | 0a419098d960bb4a80124595a990028e4c544f25 /winsup/cygwin/mount.cc | |
parent | 9725900d860b5d86a316faf66d357a3c9a5d7f83 (diff) | |
download | newlib-a657970571be50681055aa60289e35f312dea761.zip newlib-a657970571be50681055aa60289e35f312dea761.tar.gz newlib-a657970571be50681055aa60289e35f312dea761.tar.bz2 |
* miscfuncs.h (transform_chars): Declare. Define inline variation here.
* mount.cc (mount_info::from_fstab): Remove extern declaration of
transform_chars.
* path.cc (tfx_chars): Move to strfuncs.cc.
(transform_chars): Ditto.
* strfunc.cc (tfx_chars): Moved here from path.cc.
(transform_chars): Ditto.
(sys_cp_wcstombs): Make UNICODE private use area conversion roundtrip
save for all characters.
(sys_cp_mbstowcs): Ditto, by removing special case for UTF-8 sequences
representing U+f0XX UNICODE chars. Fix typo in comment.
Diffstat (limited to 'winsup/cygwin/mount.cc')
-rw-r--r-- | winsup/cygwin/mount.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/winsup/cygwin/mount.cc b/winsup/cygwin/mount.cc index 8c9b72a..b99a9b8 100644 --- a/winsup/cygwin/mount.cc +++ b/winsup/cygwin/mount.cc @@ -997,7 +997,6 @@ mount_info::from_fstab (bool user, WCHAR fstab[], PWCHAR fstab_end) if (user) { - extern void transform_chars (PWCHAR, PWCHAR); PWCHAR username; sys_mbstowcs (username = wcpcpy (fstab_end, L".d\\"), NT_MAX_PATH - (fstab_end - fstab), |