X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=src%2Fchart.h;h=c0ab0a2063106397e8c13205cb378521c0595f6a;hb=3dc1b25c7117a9f963a95d67397f5582b92356a2;hp=8d1a914691f7cfae70589aa27408ef15966de123;hpb=72318eac4782acf0215da8dfd4575ac66a9a9f74;p=pspp-builds.git diff --git a/src/chart.h b/src/chart.h index 8d1a9146..c0ab0a20 100644 --- a/src/chart.h +++ b/src/chart.h @@ -14,8 +14,8 @@ 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., 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA + 02110-1301, USA. */ #ifndef CHART_H @@ -40,7 +40,11 @@ struct chart { #ifndef NO_CHARTS plPlotter *lp ; plPlotterParams *pl_params; +#else + void *lp; #endif + char *filename; + FILE *file; /* The geometry of the chart See diagram at the foot of this file. @@ -77,10 +81,8 @@ struct chart { }; -int chart_initialise(struct chart *ch); - -void chart_finalise(struct chart *ch); - +struct chart * chart_create(void); +void chart_submit(struct chart *ch); double chart_rounded_tick(double tick);