+Mon Apr 3 13:22:39 2006 Ben Pfaff <blp@gnu.org>
+
+ * variable.c (var_is_valid_name): Move declarations before code
+ for C90 compliance.
+
Tue Apr 4 15:28:40 WST 2006 John Darrington <john@darrington.wattle.id.au>
* filename.ch (fn_interp_vars): Fixed small buglet.
+Sat Apr 15 18:00:32 2006 Ben Pfaff <blp@gnu.org>
+
+ * data-list.c: Add prototype to suppress warning for
+ cmd_repeating_data().
+
Thu Mar 2 08:40:33 WST 2006 John Darrington <john@darrington.wattle.id.au>
* Moved files from src directory
static void find_variable_input_spec (struct variable *v,
struct fmt_spec *spec);
+int cmd_repeating_data (void);
+
/* Parses the REPEATING DATA command. */
int
cmd_repeating_data (void)
#include <language/command.h>
#include <data/dictionary.h>
#include <libpspp/message.h>
+#include <language/data-io/file-handle.h>
#include <data/file-handle-def.h>
#include <libpspp/hash.h>
#include <language/lexer/lexer.h>
#include <data/dictionary.h>
#include <libpspp/message.h>
#include <data/file-handle-def.h>
+#include <language/data-io/file-handle.h>
#include <libpspp/hash.h>
#include <language/lexer/lexer.h>
#include <libpspp/magic.h>
+Sat Apr 15 18:01:03 2006 Ben Pfaff <blp@gnu.org>
+
+ * examine.q (output_examine): Add casts to fix warnings.
+
2006-04-07 Jason Stover <jhs@math.gcsu.edu>
* regression.q (subcommand_save): New function.
#include <data/dictionary.h>
#include <libpspp/message.h>
#include <data/file-handle-def.h>
+#include <language/data-io/file-handle.h>
#include <language/lexer/lexer.h>
+#include <language/stats/sort-criteria.h>
#include <libpspp/misc.h>
#include <math/moments.h>
#include <libpspp/pool.h>
#include <libpspp/compiler.h>
#include <data/dictionary.h>
#include <data/file-handle-def.h>
+#include <language/data-io/file-handle.h>
#include <language/command.h>
#include <language/lexer/lexer.h>
#include <data/variable.h>
{
if ( cmd.cmp == XMN_GROUPS )
{
- box_plot_group(0, dependent_vars, n_dependent_vars,
- cmd.v_id);
+ box_plot_group (0, (const struct variable **) dependent_vars,
+ n_dependent_vars, cmd.v_id);
}
else
- box_plot_variables(0, dependent_vars, n_dependent_vars,
- cmd.v_id);
+ box_plot_variables (0,
+ (const struct variable **) dependent_vars,
+ n_dependent_vars, cmd.v_id);
}
if ( cmd.a_plot[XMN_PLT_HISTOGRAM] )
if ( cmd.a_plot[XMN_PLT_BOXPLOT] )
{
if ( cmd.cmp == XMN_VARIABLES )
- box_plot_variables(fctr, dependent_vars, n_dependent_vars,
- cmd.v_id);
+ box_plot_variables (fctr,
+ (const struct variable **) dependent_vars,
+ n_dependent_vars, cmd.v_id);
else
- box_plot_group(fctr, dependent_vars, n_dependent_vars,
- cmd.v_id);
+ box_plot_group (fctr,
+ (const struct variable **) dependent_vars,
+ n_dependent_vars, cmd.v_id);
}
for ( v = 0 ; v < n_dependent_vars; ++v )
#include <output/charts/piechart.h>
#include <output/chart.h>
#include <output/charts/plot-hist.h>
+#include <math/histogram.h>
#include "gettext.h"
#define _(msgid) gettext (msgid)
#include <config.h>
#include <language/command.h>
+#include <language/stats/sort-criteria.h>
#include <libpspp/compiler.h>
#include <data/dictionary.h>
#include <math/sort.h>
#include <config.h>
#include <stdbool.h>
+#include <stddef.h>
struct variable;
struct dictionary;
#include <language/command.h>
#include <language/lexer/lexer.h>
#include <math/moments.h>
-#include "xalloc.h"
-#include <stdlib.h>
#include <math.h>
+#include <stdlib.h>
+#include "xalloc.h"
#define _(msgid) gettext (msgid)
+Sat Apr 15 18:01:22 2006 Ben Pfaff <blp@gnu.org>
+
+ * factor-stats.c (metrics_postcalc): Add casts to fix warnings.
+
Thu Mar 2 08:40:33 WST 2006 John Darrington <john@darrington.wattle.id.au>
* Moved files from src directory
/* Calculate the percentiles */
- ptiles(m->ptile_hash, m->wvp, m->n_data, m->n, m->ptile_alg);
+ ptiles (m->ptile_hash, (const struct weighted_value **) m->wvp,
+ m->n_data, m->n, m->ptile_alg);
- tukey_hinges(m->wvp, m->n_data, m->n, m->hinge);
+ tukey_hinges ((const struct weighted_value **) m->wvp,
+ m->n_data, m->n, m->hinge);
/* Special case here */
if ( k1 + 1 == k2 )
+Sat Apr 15 18:03:01 2006 Ben Pfaff <blp@gnu.org>
+
+ * predict.c (pspp_linreg_predict): Change prototype to match
+ struct pspp_linreg_cache_struct's predict member.
+ * predict.c (pspp_linreg_residual): Change prototype to match
+ struct pspp_linreg_cache_struct's residual member.
+
+Sat Apr 15 18:01:39 2006 Ben Pfaff <blp@gnu.org>
+
+ * coefficient.c (pspp_linreg_get_coeff): Compare n_indeps against
+ 0, instead of NULL, because it's an integer type.
+
+Mon Apr 3 13:20:54 2006 Ben Pfaff <blp@gnu.org>
+
+ * linreg.c (pspp_linreg): Move declaration before code for C90
+ compliance.
+
2006-04-09 Jason Stover <jhs@math.gcsu.edu>
* predict.c (pspp_linreg_predict): Do something sensible even with
{
return NULL;
}
- if (c->coeff == NULL || c->n_indeps == NULL || v == NULL)
+ if (c->coeff == NULL || c->n_indeps == 0 || v == NULL)
{
return NULL;
}
double
pspp_linreg_predict (const struct variable **, const union value **,
- const pspp_linreg_cache *, int);
+ const void *, int);
double
pspp_linreg_residual (const struct variable **, const union value **,
- const union value *, const pspp_linreg_cache *, int);
+ const union value *, const void *, int);
#endif
double
pspp_linreg_predict (const struct variable **predictors,
const union value **vals,
- const pspp_linreg_cache * c, int n_vals)
+ const void *c_, int n_vals)
{
+ const pspp_linreg_cache *c = c_;
int i;
int j;
const struct pspp_linreg_coeff **found;
pspp_linreg_residual (const struct variable **predictors,
const union value **vals,
const union value *obs,
- const pspp_linreg_cache * c, int n_vals)
+ const void *c_, int n_vals)
{
+ const pspp_linreg_cache *c = c_;
double pred;
double result;
#include <data/case.h>
#include <data/casefile.h>
#include <libpspp/message.h>
+#include <language/expressions/public.h>
#include <libpspp/misc.h>
#include <data/settings.h>