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 },
|
||||
{ "pi", 0, NULL, M_PI },
|
||||
|
||||
{ "abs", 1, &fabs },
|
||||
{ "acos", 1, &acos },
|
||||
{ "asin", 1, &asin },
|
||||
{ "atan", 1, &atan },
|
||||
{ "atan2", 2, &atan2 },
|
||||
{ "ceil", 1, &ceil },
|
||||
{ "cos", 1, &cos },
|
||||
{ "cosh", 1, &cosh },
|
||||
{ "exp", 1, &exp },
|
||||
{ "fabs", 1, &fabs },
|
||||
{ "floor", 1, &floor },
|
||||
{ "fmod", 2, &fmod },
|
||||
{ "log", 1, &log },
|
||||
{ "log10", 1, &log10 },
|
||||
{ "pow", 2, &pow },
|
||||
{ "sin", 1, &sin },
|
||||
{ "sinh", 1, &sinh },
|
||||
{ "sqrt", 1, &sqrt },
|
||||
{ "tan", 1, &tan },
|
||||
{ "tanh", 1, &tanh },
|
||||
{ "hypot", 2, &hypot },
|
||||
{ "abs", 1, (void*)&fabs },
|
||||
{ "acos", 1, (void*)&acos },
|
||||
{ "asin", 1, (void*)&asin },
|
||||
{ "atan", 1, (void*)&atan },
|
||||
{ "atan2", 2, (void*)&atan2 },
|
||||
{ "ceil", 1, (void*)&ceil },
|
||||
{ "cos", 1, (void*)&cos },
|
||||
{ "cosh", 1, (void*)&cosh },
|
||||
{ "exp", 1, (void*)&exp },
|
||||
{ "fabs", 1, (void*)&fabs },
|
||||
{ "floor", 1, (void*)&floor },
|
||||
{ "fmod", 2, (void*)&fmod },
|
||||
{ "log", 1, (void*)&log },
|
||||
{ "log10", 1, (void*)&log10 },
|
||||
{ "pow", 2, (void*)&pow },
|
||||
{ "sin", 1, (void*)&sin },
|
||||
{ "sinh", 1, (void*)&sinh },
|
||||
{ "sqrt", 1, (void*)&sqrt },
|
||||
{ "tan", 1, (void*)&tan },
|
||||
{ "tanh", 1, (void*)&tanh },
|
||||
{ "hypot", 2, (void*)&hypot },
|
||||
|
||||
{ NULL },
|
||||
};
|
||||
|
||||
@@ -47,7 +47,7 @@ ExpressionTextView::~ExpressionTextView()
|
||||
|
||||
|
||||
void
|
||||
ExpressionTextView::MakeFocus(bool focused = true)
|
||||
ExpressionTextView::MakeFocus(bool focused)
|
||||
{
|
||||
if (focused == IsFocus()) {
|
||||
// stop endless loop when CalcView calls us again
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include <string.h>
|
||||
|
||||
class PCApplication : public BApplication {
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user