Commit db5e4903 by Bryce McKinlay Committed by Bryce McKinlay

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
parent 92f3752a
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.
......
......@@ -27,6 +27,7 @@
*/
#include "mprec.h"
#include <string.h>
static int
_DEFUN (quorem,
......
......@@ -29,7 +29,7 @@
#include <config.h>
#include "ieeefp.h"
#include <math.h>
// #include <math.h>
// #include <float.h>
// #include <errno.h>
......
......@@ -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);
......
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment