* dir.cc: Change __off32_t to _off_t and __off64_t to _off64_t
throughout. * fhandler.cc: Ditto. * fhandler.h: Ditto. * fhandler_clipboard.cc: Ditto. * fhandler_disk_file.cc: Ditto. * fhandler_dsp.cc: Ditto. * fhandler_floppy.cc: Ditto. * fhandler_mem.cc: Ditto. * fhandler_proc.cc: Ditto. * fhandler_process.cc: Ditto. * fhandler_random.cc: Ditto. * fhandler_registry.cc: Ditto. * fhandler_tape.cc: Ditto. * fhandler_termios.cc: Ditto. * fhandler_virtual.cc: Ditto. * fhandler_zero.cc: Ditto. * mmap.cc: Ditto. * pipe.cc: Ditto. * syscalls.cc: Ditto. * winsup.h: Ditto. * include/cygwin/stat.h: Ditto. * include/cygwin/types.h: Ditto. Remove definition of __off32_t and __off64_t.
This commit is contained in:
@@ -149,7 +149,7 @@ readdir (DIR *dir)
|
||||
return res;
|
||||
}
|
||||
|
||||
extern "C" __off64_t
|
||||
extern "C" _off64_t
|
||||
telldir64 (DIR *dir)
|
||||
{
|
||||
if (check_null_invalid_struct_errno (dir))
|
||||
@@ -161,14 +161,14 @@ telldir64 (DIR *dir)
|
||||
}
|
||||
|
||||
/* telldir */
|
||||
extern "C" __off32_t
|
||||
extern "C" _off_t
|
||||
telldir (DIR *dir)
|
||||
{
|
||||
return telldir64 (dir);
|
||||
}
|
||||
|
||||
extern "C" void
|
||||
seekdir64 (DIR *dir, __off64_t loc)
|
||||
seekdir64 (DIR *dir, _off64_t loc)
|
||||
{
|
||||
if (check_null_invalid_struct_errno (dir))
|
||||
return;
|
||||
@@ -180,9 +180,9 @@ seekdir64 (DIR *dir, __off64_t loc)
|
||||
|
||||
/* seekdir */
|
||||
extern "C" void
|
||||
seekdir (DIR *dir, __off32_t loc)
|
||||
seekdir (DIR *dir, _off_t loc)
|
||||
{
|
||||
seekdir64 (dir, (__off64_t)loc);
|
||||
seekdir64 (dir, (_off64_t)loc);
|
||||
}
|
||||
|
||||
/* rewinddir: POSIX 5.1.2.1 */
|
||||
|
Reference in New Issue
Block a user