X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Foutput%2Fcharts%2Fpiechart.h;h=1899a511c118515424ab0a6e558a18b519300de7;hb=52afd109c4f1e4a524ff068c0389388592055455;hp=b59a7296d14e792031a595a1c024808c25a13451;hpb=81579d9e9f994fb2908f50af41c3eb033d216e58;p=pspp diff --git a/src/output/charts/piechart.h b/src/output/charts/piechart.h index b59a7296d1..1899a511c1 100644 --- a/src/output/charts/piechart.h +++ b/src/output/charts/piechart.h @@ -19,6 +19,7 @@ #include "libpspp/str.h" #include "output/chart-item.h" +#include "language/stats/freq.h" struct piechart { @@ -33,8 +34,10 @@ struct slice double magnitude; }; -struct chart_item *piechart_create (const char *title, - const struct slice *, int n_slices); +struct variable; + +struct chart_item *piechart_create (const struct variable *var, + const struct freq *, int n_slices); /* This boilerplate for piechart, a subclass of chart_item, was autogenerated by mk-class-boilerplate. */