Adopt use of gnulib for portability.
[pspp-builds.git] / src / ascii.c
index dc783bfa659e867ead47eef9a6de84d98427a167..63aa4c1d82465fa96bc1a0c844c5664db755ea44 100644 (file)
@@ -32,6 +32,9 @@
 #include "pool.h"
 #include "version.h"
 
+#include "gettext.h"
+#define _(msgid) gettext (msgid)
+
 /* ASCII driver options: (defaults listed first)
 
    output-file="pspp.list"
@@ -1633,22 +1636,15 @@ ascii_close_page (struct outp_driver *this)
 
 
 
-void ascii_chart_initialise(struct outp_class *c UNUSED, 
-                           struct chart *ch UNUSED);
-
-void ascii_chart_finalise(struct outp_class *c UNUSED, 
-                         struct chart *ch UNUSED);
-
-
-void
-ascii_chart_initialise(struct outp_class *c UNUSED, struct chart *ch )
+static void
+ascii_chart_initialise(struct outp_driver *d UNUSED, struct chart *ch )
 {
   msg(MW, _("Charts are unsupported with ascii drivers."));
   ch->lp = 0;
 }
 
-void 
-ascii_chart_finalise(struct outp_class *c UNUSED, struct chart *ch UNUSED)
+static void 
+ascii_chart_finalise(struct outp_driver *d UNUSED, struct chart *ch UNUSED)
 {
   
 }