mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-30 02:50:25 +08:00
* include/stdio.h (__mingw_fwrite): Change return value to
size_t. * mingwex/mingw-fseek.c (__mingw_fwrite): Likewise.
This commit is contained in:
parent
c6190209b3
commit
bc47d398b2
@ -1,3 +1,9 @@
|
||||
2005-03-24 Danny Smith <dannysmith@users.sourceforge.net>
|
||||
|
||||
* include/stdio.h (__mingw_fwrite): Change return value to
|
||||
size_t.
|
||||
* mingwex/mingw-fseek.c (__mingw_fwrite): Likewise.
|
||||
|
||||
2005-03-15 Hans Leidekker <hans@it.vu.nl>
|
||||
|
||||
* include/malloc.h (_FREEENTRY, _USEDENTRY): Correct defines.
|
||||
|
@ -312,7 +312,7 @@ _CRTIMP void __cdecl rewind (FILE*);
|
||||
*/
|
||||
|
||||
int __cdecl __mingw_fseek (FILE *, long, int);
|
||||
int __cdecl __mingw_fwrite (const void*, size_t, size_t, FILE*);
|
||||
size_t __cdecl __mingw_fwrite (const void*, size_t, size_t, FILE*);
|
||||
#define fseek(fp, offset, whence) __mingw_fseek(fp, offset, whence)
|
||||
#define fwrite(buffer, size, count, fp) __mingw_fwrite(buffer, size, count, fp)
|
||||
#endif /* __USE_MINGW_FSEEK */
|
||||
|
@ -37,7 +37,7 @@ __mingw_fseeko64 (FILE *fp, off64_t offset, int whence)
|
||||
return fseeko64 (fp, offset, whence);
|
||||
}
|
||||
|
||||
int
|
||||
size_t
|
||||
__mingw_fwrite (const void *buffer, size_t size, size_t count, FILE *fp)
|
||||
{
|
||||
# undef fwrite
|
||||
|
Loading…
x
Reference in New Issue
Block a user