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/genops.c.diff
Krystian Bacławski da2d7bde0e Update patches.
2012-08-04 13:01:59 +02:00

43 lines
1.2 KiB
Diff

--- gcc-2.95.3/libio/genops.c 1999-03-05 01:19:08.000000000 +0100
+++ gcc-2.95.3/libio/genops.c 2012-08-04 11:53:28.000000000 +0200
@@ -467,10 +467,13 @@
return fp;
}
-_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_default_seekpos (fp, pos, mode)
_IO_FILE *fp;
- _IO_pos_t pos;
+ _IO_off_t pos;
int mode;
{
return _IO_SEEKOFF (fp, _IO_pos_as_off (pos), 0, mode);
@@ -551,7 +554,10 @@
_IO_un_link (fp);
}
-_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_default_seekoff (fp, offset, dir, mode)
_IO_FILE *fp;
_IO_off_t offset;
@@ -882,7 +888,10 @@
return (unsigned char) *fp->_IO_read_ptr;
}
-_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_default_seek (fp, offset, dir)
_IO_FILE *fp;
_IO_off_t offset;