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:
parent
92f3752a64
commit
db5e49032b
5 changed files with 13 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue