summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--camel/camel-sexp.c6
-rw-r--r--libedataserver/e-sexp.c6
2 files changed, 2 insertions, 10 deletions
diff --git a/camel/camel-sexp.c b/camel/camel-sexp.c
index 1150a2cde..cc659f16c 100644
--- a/camel/camel-sexp.c
+++ b/camel/camel-sexp.c
@@ -908,7 +908,7 @@ parse_dump_term (CamelSExpTerm *term,
}
#endif
-const gchar *time_functions[] = {
+static const gchar *time_functions[] = {
"time-now",
"make-time",
"time-add-day",
@@ -978,8 +978,6 @@ static const struct {
{"completed-before?", unary_generator},
};
-const gint generators_count = sizeof (generators) / sizeof (generators[0]);
-
static gboolean
or_operator (gint argc,
CamelSExpResult **argv,
@@ -1062,8 +1060,6 @@ static const struct {
{"and", and_operator}
};
-const gint operators_count = sizeof (operators) / sizeof (operators[0]);
-
static CamelSOperatorFunc *
get_operator_function (const gchar *fname)
{
diff --git a/libedataserver/e-sexp.c b/libedataserver/e-sexp.c
index 0f9764c08..313c74b44 100644
--- a/libedataserver/e-sexp.c
+++ b/libedataserver/e-sexp.c
@@ -883,7 +883,7 @@ parse_dump_term (struct _ESExpTerm *t,
}
#endif
-const gchar *time_functions[] = {
+static const gchar *time_functions[] = {
"time-now",
"make-time",
"time-add-day",
@@ -953,8 +953,6 @@ static const struct {
{"completed-before?", unary_generator},
};
-const gint generators_count = sizeof (generators) / sizeof (generators[0]);
-
static gboolean
or_operator (gint argc,
struct _ESExpResult **argv,
@@ -1037,8 +1035,6 @@ static const struct {
{"and", and_operator}
};
-const gint operators_count = sizeof (operators) / sizeof (operators[0]);
-
static ESOperatorFunc *
get_operator_function (const gchar *fname)
{