Clean header includes

This commit is contained in:
2011-08-20 11:43:12 +02:00
parent fc3093d176
commit ad29793f8c
39 changed files with 123 additions and 105 deletions

View File

@@ -66,7 +66,7 @@ enum {DOUBLE_POINTED=1, INVALID_CHAR, INVALID_PARENTHESIS, INVALID_OPERATION};
#define P(x)
#endif
double atof(char* s, int size)
static double atof(char* s, int size)
{
int neg = 0;
double res = 0;
@@ -94,7 +94,7 @@ double atof(char* s, int size)
return res;
}
void ParseExp(char** expr, struct parse_opt* root, bool needParenthesis)
void ParseExp::ParseExp(char** expr, struct parse_opt* root, bool needParenthesis)
{
char* temp;
bool pointed = false;
@@ -256,7 +256,7 @@ void ParseExp(char** expr, struct parse_opt* root, bool needParenthesis)
return ;
}
double EvaluateExpr(struct parse_opt* root, bool del)
double ParseExp::EvaluateExpr(struct parse_opt* root, bool del)
{
double l, r;
char type;
@@ -304,6 +304,7 @@ double EvaluateExpr(struct parse_opt* root, bool del)
}
#ifdef DEBUG
using namespace ParseExp;
int main()
{