X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Foutput%2Fcharts%2Fplot-chart.h;h=cfbaa4df8ddc396ee4d2338dee87acfd349bf0a5;hb=1b49116188b31ff17ee1a85e944488a7f254b847;hp=f4cc5bbf06c3f91650c4988b15e76e36f8efc74a;hpb=f7db18ef6a7e50bda368cf9a9288db58446f04c2;p=pspp diff --git a/src/output/charts/plot-chart.h b/src/output/charts/plot-chart.h index f4cc5bbf06..cfbaa4df8d 100644 --- a/src/output/charts/plot-chart.h +++ b/src/output/charts/plot-chart.h @@ -1,5 +1,5 @@ /* PSPP - a program for statistical analysis. - Copyright (C) 2004 Free Software Foundation, Inc. + Copyright (C) 2004, 2009 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 @@ -26,6 +26,7 @@ #include #include +#include #include #include #include @@ -51,11 +52,13 @@ enum tick_orientation void draw_tick(struct chart *chart, enum tick_orientation orientation, double position, - const char *label, ...); + const char *label, ...) + PRINTF_FORMAT (4, 5); /* Write the title on a chart*/ -void chart_write_title(struct chart *chart, const char *title, ...); +void chart_write_title(struct chart *chart, const char *title, ...) + PRINTF_FORMAT (2, 3); /* Set the scale for the abscissa */