natMath.cc: Declare fabsf() function.

2000-12-02  Bryce McKinlay  <bryce@albatross.co.nz>

	* java/lang/natMath.cc: Declare fabsf() function.
	* java/lang/mprec.h: Don't include math.h.
	* java/lang/dtoa.c: Include string.h.
	* java/lang/natString.cc (toLowerCase): Initialize ch to prevent
	compiler warning.

From-SVN: r37938
This commit is contained in:
Bryce McKinlay 2000-12-02 00:28:44 +00:00 committed by Bryce McKinlay
parent 92f3752a64
commit db5e49032b
5 changed files with 13 additions and 2 deletions

View File

@ -1,3 +1,11 @@
2000-12-02 Bryce McKinlay <bryce@albatross.co.nz>
* java/lang/natMath.cc: Declare fabsf() function.
* java/lang/mprec.h: Don't include math.h.
* java/lang/dtoa.c: Include string.h.
* java/lang/natString.cc (toLowerCase): Initialize `ch' to prevent
compiler warning.
2000-12-01 Warren Levy <warrenl@cygnus.com>
* Makefile.am: Added entries for new java.sql modules.

View File

@ -27,6 +27,7 @@
*/
#include "mprec.h"
#include <string.h>
static int
_DEFUN (quorem,

View File

@ -29,7 +29,7 @@
#include <config.h>
#include "ieeefp.h"
#include <math.h>
// #include <math.h>
// #include <float.h>
// #include <errno.h>

View File

@ -27,6 +27,8 @@ details. */
#include "fdlibm.h"
extern "C" float fabsf (float);
jdouble java::lang::Math::cos(jdouble x)
{
return (jdouble)::cos((double)x);

View File

@ -768,7 +768,7 @@ java::lang::String::toLowerCase (java::util::Locale *locale)
{
jint i;
jchar* chrs = JvGetStringChars(this);
jchar ch;
jchar ch = 0;
bool handle_tr = false;
if (locale != NULL)