#include <config.h>
-
#include "data/case.h"
#include "data/casegrouper.h"
#include "data/casereader.h"
static double
-harmonic_get (const struct means *means UNUSED, struct per_var_data *pvd, void *stat)
+harmonic_get (const struct means *means UNUSED, struct per_var_data *pvd UNUSED, void *stat)
{
struct harmonic_mean *hm = stat;
static double
-geometric_get (const struct means *means UNUSED, struct per_var_data *pvd, void *stat)
+geometric_get (const struct means *means UNUSED, struct per_var_data *pvd UNUSED, void *stat)
{
struct geometric_mean *gm = stat;
\f
-static void *
-sum_create (const struct means *means UNUSED, struct pool *pool)
-{
- return NULL;
-}
-
static double
-sum_get (const struct means *means UNUSED, struct per_var_data *pvd, void *stat)
+sum_get (const struct means *means UNUSED, struct per_var_data *pvd, void *stat UNUSED)
{
double n, mean;
}
-static void *
-n_create (const struct means *means UNUSED, struct pool *pool)
-{
- return NULL;
-}
-
static double
-n_get (const struct means *means UNUSED, struct per_var_data *pvd, void *stat)
+n_get (const struct means *means UNUSED, struct per_var_data *pvd, void *stat UNUSED)
{
double n;
return n;
}
-static void *
-arithmean_create (const struct means *means UNUSED, struct pool *pool)
-{
- return NULL;
-}
-
static double
-arithmean_get (const const struct means *means UNUSED, struct per_var_data *pvd, void *stat)
+arithmean_get (const const struct means *means UNUSED, struct per_var_data *pvd, void *stat UNUSED)
{
double n, mean;
return mean;
}
-static void *
-stddev_create (const struct means *means UNUSED, struct pool *pool)
-{
- return NULL;
-}
-
static double
-variance_get (const const struct means *means UNUSED, struct per_var_data *pvd, void *stat)
+variance_get (const const struct means *means UNUSED, struct per_var_data *pvd, void *stat UNUSED)
{
double n, mean, variance;
\f
-static void *
-skew_create (const struct means *means UNUSED, struct pool *pool)
-{
- return NULL;
-}
-
static double
-skew_get (const const struct means *means UNUSED, struct per_var_data *pvd, void *stat)
+skew_get (const const struct means *means UNUSED, struct per_var_data *pvd, void *stat UNUSED)
{
double skew;
}
static double
-sekurt_get (const const struct means *means UNUSED, struct per_var_data *pvd, void *stat)
+sekurt_get (const const struct means *means UNUSED, struct per_var_data *pvd, void *stat UNUSED)
{
double n;
static double
-seskew_get (const const struct means *means UNUSED, struct per_var_data *pvd, void *stat)
+seskew_get (const const struct means *means UNUSED, struct per_var_data *pvd, void *stat UNUSED)
{
double n;
-static void *
-kurt_create (const struct means *means UNUSED, struct pool *pool)
-{
- return NULL;
-}
-
-
static double
-kurt_get (const const struct means *means UNUSED, struct per_var_data *pvd, void *stat)
+kurt_get (const const struct means *means UNUSED, struct per_var_data *pvd, void *stat UNUSED)
{
double kurt;
static double
-semean_get (const struct means *means, struct per_var_data *pvd, void *stat)
+semean_get (const struct means *means UNUSED, struct per_var_data *pvd, void *stat UNUSED)
{
double n, var;
}
static double
-min_get (const const struct means *means UNUSED, struct per_var_data *pvd, void *stat)
+min_get (const const struct means *means UNUSED, struct per_var_data *pvd UNUSED, void *stat)
{
double *r = stat;
}
static double
-max_get (const const struct means *means UNUSED, struct per_var_data *pvd, void *stat)
+max_get (const const struct means *means UNUSED, struct per_var_data *pvd UNUSED, void *stat)
{
double *r = stat;
}
static double
-range_get (const const struct means *means UNUSED, struct per_var_data *pvd, void *stat)
+range_get (const const struct means *means UNUSED, struct per_var_data *pvd UNUSED, void *stat)
{
struct range *r = stat;
}
static double
-last_get (const const struct means *means UNUSED, struct per_var_data *pvd, void *stat)
+last_get (const const struct means *means UNUSED, struct per_var_data *pvd UNUSED, void *stat)
{
double *l = stat;
}
static double
-first_get (const const struct means *means UNUSED, struct per_var_data *pvd, void *stat)
+first_get (const const struct means *means UNUSED, struct per_var_data *pvd UNUSED, void *stat)
{
double *f = stat;
static void
run_means (struct means *cmd, struct casereader *input,
- const struct dataset *ds)
+ const struct dataset *ds UNUSED)
{
int i,t;
const struct variable *wv = dict_get_weight (cmd->dict);