2
0
mirror of https://github.com/bebbo/amigaos-cross-toolchain.git synced 2025-12-08 22:38:24 +00:00
Files
amigaos-cross-toolchain6/patches/gcc-2.95.3/libio/fileops.c.diff
Krystian Bacławski 795a046655 Final patch.
2012-02-14 22:06:05 -08:00

27 lines
799 B
Diff

--- gcc-2.95.3/libio/fileops.c Mon Apr 12 18:27:49 1999
+++ gcc-2.95.3/libio/fileops.c Thu Apr 5 10:35:36 2001
@@ -419,7 +419,10 @@ _IO_file_sync (fp)
return retval;
}
-_IO_pos_t
+// Changed 2001-04-05 Andreas Wolff <andreas.wolff@dusnet.de>
+// Avoid conflicting types with libioP.h
+// This may be obsolete for future versions of libio
+_IO_off_t
_IO_file_seekoff (fp, offset, dir, mode)
_IO_FILE *fp;
_IO_off_t offset;
@@ -587,7 +590,10 @@ _IO_file_read (fp, buf, size)
return read (fp->_fileno, buf, size);
}
-_IO_pos_t
+// Changed 2001-04-05 Andreas Wolff <andreas.wolff@dusnet.de>
+// Avoid conflicting types with libioP.h
+// This may be obsolete for future versions of libio
+_IO_off_t
_IO_file_seek (fp, offset, dir)
_IO_FILE *fp;
_IO_off_t offset;