[PATCH]: Fix libgloss read/write prototypes

Stephane Carrez stcarrez@nerim.fr
Tue Jul 16 13:49:00 GMT 2002


Hi!

The following patch fixes problems with read/write definition.
A size_t is not an int and read()/write() prototypes are defined with size_t.
The implementation must follow that too. The size_t definition is provided by gcc
in <stddef.h> so that libgloss does not rely on any libc header.

Can you integrate this patch ?

Thanks,
	Stephane

2002-07-16  Stephane Carrez  <Stephane.Carrez@nerim.fr>

	* write.c (write): Use size_t for the size of the write.
	* read.c (read): Likewise.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: libgloss-fixes.diffs
URL: <http://sourceware.org/pipermail/newlib/attachments/20020716/0d776d73/attachment.ksh>


More information about the Newlib mailing list