From: John Darrington <john@darrington.wattle.id.au>
Date: Wed, 18 Nov 2009 19:00:45 +0000 (+0100)
Subject: Fix problem building with --without-libplot
X-Git-Tag: fc11-i386-build38~1
X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f24649a9286df6c3c194186b03cf33c87ae19fb7;p=pspp-builds.git

Fix problem building with --without-libplot
---

diff --git a/src/output/charts/dummy-chart.c b/src/output/charts/dummy-chart.c
index e22f958f..e00a41f7 100644
--- a/src/output/charts/dummy-chart.c
+++ b/src/output/charts/dummy-chart.c
@@ -32,6 +32,26 @@
 #error This file should be used only when compiling without charts.
 #endif
 
+void
+chart_write_legend (struct chart *ch UNUSED)
+{
+}
+
+void
+chart_vector (struct chart *ch UNUSED, double x UNUSED, double y UNUSED)
+{
+}
+
+void
+chart_vector_end (struct chart *ch UNUSED)
+{
+}
+
+void
+chart_vector_start (struct chart *ch UNUSED, const char *name UNUSED)
+{
+}
+
 void
 chart_write_title (struct chart *chart UNUSED, const char *title UNUSED, ...)
 {