From: Ben Pfaff Date: Sat, 5 Nov 2011 19:59:46 +0000 (-0700) Subject: q2c: Remove gettext.h #include from generated code. X-Git-Tag: v0.7.9~101 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cc6cdcbf343d27c4f768bb084e1271dcd2a52430;p=pspp-builds.git q2c: Remove gettext.h #include from generated code. The generated code no longer uses any of the gettext symbols. --- diff --git a/src/language/lexer/q2c.c b/src/language/lexer/q2c.c index bed0df59..20bdd564 100644 --- a/src/language/lexer/q2c.c +++ b/src/language/lexer/q2c.c @@ -2049,10 +2049,6 @@ main (int argc, char *argv[]) dump (0, "#include \"gl/xalloc.h\""); dump_blank_line (0); - - dump (0, "#include \"gettext.h\""); - dump (0, "#define _(msgid) gettext (msgid)"); - dump_blank_line (0); } else if (!strcmp (directive, "declarations")) dump_declarations ();