X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Foutput%2Fcharts%2Fdummy-chart.c;h=540f0d2b0fc1bdd18a52302056ff1747724a4ad7;hb=9105b67fe006fe41c044e3659325594a52d0c899;hp=a255f23795d254b8527ff42a129e3842f25c5392;hpb=2322678e8fddbbf158b01b2720db2636404bba3b;p=pspp-builds.git diff --git a/src/output/charts/dummy-chart.c b/src/output/charts/dummy-chart.c index a255f237..540f0d2b 100644 --- a/src/output/charts/dummy-chart.c +++ b/src/output/charts/dummy-chart.c @@ -1,6 +1,5 @@ /* PSPP - computes sample statistics. Copyright (C) 2005 Free Software Foundation, Inc. - Written by John Darrington This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as @@ -22,12 +21,14 @@ This module is linked only when charts are not supported */ #include "config.h" -#include "chart.h" -#include "plot-chart.h" -#include "cartesian.h" +#include +#include +#include +#include +#include +#include #include -#include "compiler.h" - +#include #ifndef NO_CHARTS #error This file should be used only when compiling without charts. @@ -41,78 +42,86 @@ chart_create(void) void -chart_write_title(struct chart *chart, const char *title, ...) +chart_write_title(struct chart *chart UNUSED, const char *title UNUSED, ...) { } void -chart_submit(struct chart *chart) +chart_submit(struct chart *chart UNUSED) { } void -chart_write_xscale(struct chart *ch, double min, double max, int ticks) +chart_write_xscale(struct chart *ch UNUSED, + double min UNUSED, double max UNUSED, int ticks UNUSED) { } void -chart_write_yscale(struct chart *ch, double smin, double smax, int ticks) +chart_write_yscale(struct chart *ch UNUSED UNUSED, + double smin UNUSED, double smax UNUSED, int ticks UNUSED) { } void -chart_write_xlabel(struct chart *ch, const char *label) +chart_write_xlabel(struct chart *ch UNUSED, const char *label UNUSED) { } void -chart_write_ylabel(struct chart *ch, const char *label) +chart_write_ylabel(struct chart *ch UNUSED, const char *label UNUSED) { } void -chart_line(struct chart *ch, double slope, double intercept, - double limit1, double limit2, enum CHART_DIM lim_dim) +chart_line(struct chart *ch UNUSED, + double slope UNUSED, double intercept UNUSED, + double limit1 UNUSED, double limit2 UNUSED, + enum CHART_DIM lim_dim UNUSED) { } void -chart_datum(struct chart *ch, int dataset UNUSED, double x, double y) +chart_datum(struct chart *ch UNUSED, int dataset UNUSED UNUSED, + double x UNUSED, double y UNUSED) { } struct normal_curve; void -histogram_plot(const gsl_histogram *hist, - const char *factorname, - const struct normal_curve *norm, short show_normal) +histogram_plot(const gsl_histogram *hist UNUSED, + const char *factorname UNUSED, + const struct normal_curve *norm UNUSED, + short show_normal UNUSED) { } void -boxplot_draw_yscale(struct chart *ch , double y_max, double y_min) +boxplot_draw_yscale(struct chart *ch UNUSED, + double y_max UNUSED, double y_min UNUSED) { } void -boxplot_draw_boxplot(struct chart *ch, - double box_centre, - double box_width, - struct metrics *m, - const char *name) +boxplot_draw_boxplot(struct chart *ch UNUSED, + double box_centre UNUSED, + double box_width UNUSED, + struct metrics *m UNUSED, + const char *name UNUSED) { } void -piechart_plot(const char *title, const struct slice *slices, int n_slices) +piechart_plot(const char *title UNUSED, + const struct slice *slices UNUSED, int n_slices UNUSED) { }