More (minor) GCC 4 fixes.....
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18153 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -365,27 +365,27 @@ static const Function kFunctions[] = {
|
|||||||
{ "e", 0, NULL, M_E },
|
{ "e", 0, NULL, M_E },
|
||||||
{ "pi", 0, NULL, M_PI },
|
{ "pi", 0, NULL, M_PI },
|
||||||
|
|
||||||
{ "abs", 1, &fabs },
|
{ "abs", 1, (void*)&fabs },
|
||||||
{ "acos", 1, &acos },
|
{ "acos", 1, (void*)&acos },
|
||||||
{ "asin", 1, &asin },
|
{ "asin", 1, (void*)&asin },
|
||||||
{ "atan", 1, &atan },
|
{ "atan", 1, (void*)&atan },
|
||||||
{ "atan2", 2, &atan2 },
|
{ "atan2", 2, (void*)&atan2 },
|
||||||
{ "ceil", 1, &ceil },
|
{ "ceil", 1, (void*)&ceil },
|
||||||
{ "cos", 1, &cos },
|
{ "cos", 1, (void*)&cos },
|
||||||
{ "cosh", 1, &cosh },
|
{ "cosh", 1, (void*)&cosh },
|
||||||
{ "exp", 1, &exp },
|
{ "exp", 1, (void*)&exp },
|
||||||
{ "fabs", 1, &fabs },
|
{ "fabs", 1, (void*)&fabs },
|
||||||
{ "floor", 1, &floor },
|
{ "floor", 1, (void*)&floor },
|
||||||
{ "fmod", 2, &fmod },
|
{ "fmod", 2, (void*)&fmod },
|
||||||
{ "log", 1, &log },
|
{ "log", 1, (void*)&log },
|
||||||
{ "log10", 1, &log10 },
|
{ "log10", 1, (void*)&log10 },
|
||||||
{ "pow", 2, &pow },
|
{ "pow", 2, (void*)&pow },
|
||||||
{ "sin", 1, &sin },
|
{ "sin", 1, (void*)&sin },
|
||||||
{ "sinh", 1, &sinh },
|
{ "sinh", 1, (void*)&sinh },
|
||||||
{ "sqrt", 1, &sqrt },
|
{ "sqrt", 1, (void*)&sqrt },
|
||||||
{ "tan", 1, &tan },
|
{ "tan", 1, (void*)&tan },
|
||||||
{ "tanh", 1, &tanh },
|
{ "tanh", 1, (void*)&tanh },
|
||||||
{ "hypot", 2, &hypot },
|
{ "hypot", 2, (void*)&hypot },
|
||||||
|
|
||||||
{ NULL },
|
{ NULL },
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -47,7 +47,7 @@ ExpressionTextView::~ExpressionTextView()
|
|||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
ExpressionTextView::MakeFocus(bool focused = true)
|
ExpressionTextView::MakeFocus(bool focused)
|
||||||
{
|
{
|
||||||
if (focused == IsFocus()) {
|
if (focused == IsFocus()) {
|
||||||
// stop endless loop when CalcView calls us again
|
// stop endless loop when CalcView calls us again
|
||||||
|
|||||||
@@ -33,7 +33,7 @@
|
|||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
class PCApplication : public BApplication {
|
class PCApplication : public BApplication {
|
||||||
public:
|
public:
|
||||||
|
|||||||
Reference in New Issue
Block a user