X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Foutput%2Fcharts%2Fdummy-chart.c;h=9d4f722b2411ddb3da506459c756c5e46c18e30d;hb=9aff19b717bcc242e16d04c34f348fd79ebdd685;hp=540f0d2b0fc1bdd18a52302056ff1747724a4ad7;hpb=eb72e2843fa902b185680a756e79e91b68caea49;p=pspp-builds.git diff --git a/src/output/charts/dummy-chart.c b/src/output/charts/dummy-chart.c index 540f0d2b..9d4f722b 100644 --- a/src/output/charts/dummy-chart.c +++ b/src/output/charts/dummy-chart.c @@ -1,20 +1,18 @@ -/* PSPP - computes sample statistics. +/* PSPP - a program for statistical analysis. Copyright (C) 2005 Free Software Foundation, Inc. - This program is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public License as - published by the Free Software Foundation; either version 2 of the - License, or (at your option) any later version. + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. - This program is distributed in the hope that it will be useful, but - WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - General Public License for more details. + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA - 02110-1301, USA. */ + along with this program. If not, see . */ /* Stubs for plotting routines. @@ -34,45 +32,32 @@ #error This file should be used only when compiling without charts. #endif -struct chart * -chart_create(void) -{ - return 0; -} - - -void +void chart_write_title(struct chart *chart UNUSED, const char *title UNUSED, ...) { } void -chart_submit(struct chart *chart UNUSED) -{ -} - - -void chart_write_xscale(struct chart *ch UNUSED, double min UNUSED, double max UNUSED, int ticks UNUSED) { } -void +void chart_write_yscale(struct chart *ch UNUSED UNUSED, double smin UNUSED, double smax UNUSED, int ticks UNUSED) { } -void +void chart_write_xlabel(struct chart *ch UNUSED, const char *label UNUSED) { } -void +void chart_write_ylabel(struct chart *ch UNUSED, const char *label UNUSED) { } @@ -80,7 +65,7 @@ chart_write_ylabel(struct chart *ch UNUSED, const char *label UNUSED) void chart_line(struct chart *ch UNUSED, - double slope UNUSED, double intercept UNUSED, + double slope UNUSED, double intercept UNUSED, double limit1 UNUSED, double limit2 UNUSED, enum CHART_DIM lim_dim UNUSED) { @@ -109,9 +94,9 @@ boxplot_draw_yscale(struct chart *ch UNUSED, { } -void +void boxplot_draw_boxplot(struct chart *ch UNUSED, - double box_centre UNUSED, + double box_centre UNUSED, double box_width UNUSED, struct metrics *m UNUSED, const char *name UNUSED)