Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
GNOME
gnumeric
Commits
1d919dff
Commit
1d919dff
authored
Sep 19, 1999
by
Morten Welinder
Browse files
Make a bunch of stuff static.
parent
a4c835e7
Changes
10
Hide whitespace changes
Inline
Side-by-side
ChangeLog-2000-02-23
View file @
1d919dff
1999-09-19 Morten Welinder <terra@diku.dk>
* src/functions/fn-stat.c (callback_function_make_list): Static.
(init_make_list_closure): Static.
* src/expr.c (eval_expr_real): Static.
* src/functions/fn-math.c (gnumeric_sum): Static.
(gnumeric_suma): Static.
* src/analysis-tools.c (covariance_tool): Plug leak.
(descriptive_stat_tool): Plug leak.
(correlation_tool): Plug leak.
...
...
OChangeLog-2000-02-23
View file @
1d919dff
1999-09-19 Morten Welinder <terra@diku.dk>
* src/functions/fn-stat.c (callback_function_make_list): Static.
(init_make_list_closure): Static.
* src/expr.c (eval_expr_real): Static.
* src/functions/fn-math.c (gnumeric_sum): Static.
(gnumeric_suma): Static.
* src/analysis-tools.c (covariance_tool): Plug leak.
(descriptive_stat_tool): Plug leak.
(correlation_tool): Plug leak.
...
...
plugins/excel/ChangeLog
View file @
1d919dff
1999-09-18 Morten Welinder <terra@diku.dk>
* ole.c (cur_dir, delim): static.
1999-09-18 Jody Goldberg <jgoldberg@home.com>
* gnumeric-chart.c (gnumeric_chart_destroy) : implement.
...
...
plugins/excel/ole.c
View file @
1d919dff
...
...
@@ -20,7 +20,7 @@
#define BIFF_TYPES_FILE "biff-types.h"
#define ESCHER_TYPES_FILE "escher-types.h"
char
delim
[]
=
"
\t\n
"
;
static
char
delim
[]
=
"
\t\n
"
;
typedef
struct
{
guint16
opcode
;
...
...
@@ -31,7 +31,7 @@ static GPtrArray *biff_types = NULL;
static
GPtrArray
*
escher_types
=
NULL
;
typedef
enum
{
eBiff
=
0
,
eEscher
=
1
}
typeType
;
char
*
cur_dir
=
NULL
;
static
char
*
cur_dir
=
NULL
;
static
void
dump_vba
(
MsOle
*
f
);
...
...
plugins/fn-math/functions.c
View file @
1d919dff
...
...
@@ -1356,7 +1356,7 @@ static char *help_sum = {
"@SEEALSO=AVERAGE, COUNT"
)
};
Value
*
static
Value
*
gnumeric_sum
(
FunctionEvalInfo
*
ei
,
GList
*
nodes
)
{
return
float_range_function
(
nodes
,
ei
,
...
...
@@ -1387,7 +1387,7 @@ static char *help_suma = {
"@SEEALSO=AVERAGE, SUM, COUNT"
)
};
Value
*
static
Value
*
gnumeric_suma
(
FunctionEvalInfo
*
ei
,
GList
*
nodes
)
{
return
float_range_function
(
nodes
,
ei
,
...
...
plugins/fn-stat/functions.c
View file @
1d919dff
...
...
@@ -75,7 +75,13 @@ callback_function_stat (const EvalPosition *ep, Value *value, void *closure)
return
NULL
;
}
Value
*
typedef
struct
{
GSList
*
entries
;
int
n
;
}
make_list_t
;
static
Value
*
callback_function_make_list
(
const
EvalPosition
*
ep
,
Value
*
value
,
void
*
closure
)
{
...
...
@@ -96,7 +102,7 @@ callback_function_make_list (const EvalPosition *ep, Value *value,
return
NULL
;
}
void
static
void
init_make_list_closure
(
make_list_t
*
p
)
{
p
->
n
=
0
;
...
...
src/expr.c
View file @
1d919dff
...
...
@@ -16,6 +16,8 @@
#include
"func.h"
#include
"utils.h"
static
Value
*
eval_expr_real
(
FunctionEvalInfo
*
s
,
ExprTree
const
*
tree
);
EvalPosition
*
eval_pos_init
(
EvalPosition
*
eval_pos
,
Sheet
*
sheet
,
int
col
,
int
row
)
{
...
...
@@ -774,7 +776,7 @@ eval_range (FunctionEvalInfo *s, Value *v)
}
}
Value
*
static
Value
*
eval_expr_real
(
FunctionEvalInfo
*
s
,
ExprTree
const
*
tree
)
{
Value
*
res
=
NULL
,
*
a
=
NULL
,
*
b
=
NULL
;
...
...
src/func.h
View file @
1d919dff
...
...
@@ -132,7 +132,6 @@ Value *callback_function_stat (const EvalPosition *ep, Value *value,
Value
*
gnumeric_average
(
FunctionEvalInfo
*
s
,
GList
*
nodes
);
Value
*
gnumeric_count
(
FunctionEvalInfo
*
s
,
GList
*
nodes
);
Value
*
gnumeric_sum
(
FunctionEvalInfo
*
s
,
GList
*
nodes
);
Value
*
gnumeric_stdev
(
FunctionEvalInfo
*
s
,
GList
*
nodes
);
Value
*
gnumeric_stdevp
(
FunctionEvalInfo
*
s
,
GList
*
nodes
);
Value
*
gnumeric_var
(
FunctionEvalInfo
*
s
,
GList
*
nodes
);
...
...
@@ -140,7 +139,6 @@ Value *gnumeric_varp (FunctionEvalInfo *s, GList *nodes);
Value
*
gnumeric_counta
(
FunctionEvalInfo
*
s
,
GList
*
nodes
);
Value
*
gnumeric_min
(
FunctionEvalInfo
*
s
,
GList
*
nodes
);
Value
*
gnumeric_max
(
FunctionEvalInfo
*
s
,
GList
*
nodes
);
Value
*
gnumeric_suma
(
FunctionEvalInfo
*
s
,
GList
*
nodes
);
Value
*
gnumeric_return_current_time
(
void
);
...
...
@@ -166,15 +164,6 @@ void parse_criteria (const char *criteria,
criteria_test_fun_t
*
fun
,
Value
**
test_value
);
typedef
struct
{
GSList
*
entries
;
int
n
;
}
make_list_t
;
Value
*
callback_function_make_list
(
const
EvalPosition
*
ep
,
Value
*
value
,
void
*
closure
);
void
init_make_list_closure
(
make_list_t
*
p
);
float_t
get_serial_date
(
const
Value
*
v
);
GDate
*
get_date
(
const
Value
*
v
);
...
...
src/functions/fn-math.c
View file @
1d919dff
...
...
@@ -1356,7 +1356,7 @@ static char *help_sum = {
"@SEEALSO=AVERAGE, COUNT"
)
};
Value
*
static
Value
*
gnumeric_sum
(
FunctionEvalInfo
*
ei
,
GList
*
nodes
)
{
return
float_range_function
(
nodes
,
ei
,
...
...
@@ -1387,7 +1387,7 @@ static char *help_suma = {
"@SEEALSO=AVERAGE, SUM, COUNT"
)
};
Value
*
static
Value
*
gnumeric_suma
(
FunctionEvalInfo
*
ei
,
GList
*
nodes
)
{
return
float_range_function
(
nodes
,
ei
,
...
...
src/functions/fn-stat.c
View file @
1d919dff
...
...
@@ -75,7 +75,13 @@ callback_function_stat (const EvalPosition *ep, Value *value, void *closure)
return
NULL
;
}
Value
*
typedef
struct
{
GSList
*
entries
;
int
n
;
}
make_list_t
;
static
Value
*
callback_function_make_list
(
const
EvalPosition
*
ep
,
Value
*
value
,
void
*
closure
)
{
...
...
@@ -96,7 +102,7 @@ callback_function_make_list (const EvalPosition *ep, Value *value,
return
NULL
;
}
void
static
void
init_make_list_closure
(
make_list_t
*
p
)
{
p
->
n
=
0
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment