iconv prototype

Eric Blake ebb9@byu.net
Thu Aug 20 22:28:00 GMT 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Per POSIX, iconv's inbuf argument is non-const (even though an
implementation would be stupid to modify it); this is probably historical
baggage.  At any rate, ok to apply this?  I intentionally did not modify
_iconv_r, where we can use the const without standards issues.

2009-08-20  Eric Blake  <ebb9@byu.net>

	* libc/include/iconv.h (iconv): Match POSIX prototype.
	* libc/iconv/lib/iconv.c (iconv): Likewise.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             ebb9@byu.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkqNgjEACgkQ84KuGfSFAYBfXQCaAlJyFN4kS890pC/SRhGsWFcJ
G3AAnjHfsKIwRK0eLfQwWCevJcgQCbcg
=E3yD
-----END PGP SIGNATURE-----
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: newlib.patch40
URL: <http://sourceware.org/pipermail/newlib/attachments/20090820/e505dc6b/attachment.ksh>


More information about the Newlib mailing list