summaryrefslogtreecommitdiff
path: root/src/mp-equation.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mp-equation.c')
-rw-r--r--src/mp-equation.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/mp-equation.c b/src/mp-equation.c
index df9d872..0c9e204 100644
--- a/src/mp-equation.c
+++ b/src/mp-equation.c
@@ -37,7 +37,6 @@ variable_is_defined(ParserState *state, const char *name)
return 0;
}
-
static int
get_variable(ParserState *state, const char *name, MPNumber *z)
{
@@ -103,7 +102,6 @@ set_variable(ParserState *state, const char *name, const MPNumber *x)
// i.e. numbers+letters = variable or function depending on following arg
// letters+numbers = numbers+letters+numbers = function
-
int
sub_atoi(const char *data)
{
@@ -143,7 +141,6 @@ super_atoi(const char *data)
return sign * value;
}
-
static int
function_is_defined(ParserState *state, const char *name)
{
@@ -188,7 +185,6 @@ function_is_defined(ParserState *state, const char *name)
return 0;
}
-
static int
get_function(ParserState *state, const char *name, const MPNumber *x, MPNumber *z)
{
@@ -280,7 +276,6 @@ get_function(ParserState *state, const char *name, const MPNumber *x, MPNumber *
return result;
}
-
static int
convert(ParserState *state, const MPNumber *x, const char *x_units, const char *z_units, MPNumber *z)
{
@@ -290,7 +285,6 @@ convert(ParserState *state, const MPNumber *x, const char *x_units, const char *
return 0;
}
-
MPErrorCode
mp_equation_parse(const char *expression, MPEquationOptions *options, MPNumber *result, char **error_token)
{
@@ -336,7 +330,6 @@ mp_equation_parse(const char *expression, MPEquationOptions *options, MPNumber *
return PARSER_ERR_NONE;
}
-
const char *
mp_error_code_to_string(MPErrorCode error_code)
{