Fixing compiler warnings

Petteri Räty betelgeuse at gentoo.org
Thu May 24 17:14:21 UTC 2007


This silences some QA warnings given by GCC. I don't have access to
Solaris so it would probably be safest to test there before committing
although man gettimeofday is claiming that the function is quite standard:

CONFORMING TO
       SVr4, 4.3BSD.  POSIX.1-2001 describes gettimeofday() but not
settimeofday().

I haven't signed the SCA but this is hardly copyrightable.

Regards,
Petteri
--
Gentoo/Java project lead
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gettimeofday-declaration.patch
Type: text/x-patch
Size: 2001 bytes
Desc: not available
URL: <http://mail.openjdk.java.net/pipermail/core-libs-dev/attachments/20070524/0e684d61/gettimeofday-declaration.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
URL: <http://mail.openjdk.java.net/pipermail/core-libs-dev/attachments/20070524/0e684d61/signature.asc>


More information about the core-libs-dev mailing list