X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=src%2Fascii.c;h=63aa4c1d82465fa96bc1a0c844c5664db755ea44;hb=4611b8e15a8286d4039ce64b59e5a891af549238;hp=d98ab67b4ed7212036c07d83bf37c47e7036070b;hpb=d807ad29cc0d3caa4f0e04ee4b75c70a225cfeaf;p=pspp diff --git a/src/ascii.c b/src/ascii.c index d98ab67b4e..63aa4c1d82 100644 --- a/src/ascii.c +++ b/src/ascii.c @@ -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. */ #include #include "error.h" @@ -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) { }