X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fweight.c;h=f1326f09d25fc6a70e99670b9ab68266f6c826f2;hb=f6824ecbc579c68db49144fede419ca0acb0f53b;hp=66b7e615ac0aa7ca49f6143793c4be2d174450c0;hpb=74a57f26f1458b28a0fddbb9f46004ac8f4d9c30;p=pspp diff --git a/src/weight.c b/src/weight.c index 66b7e615ac..f1326f09d2 100644 --- a/src/weight.c +++ b/src/weight.c @@ -14,25 +14,21 @@ 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 +#include "error.h" #include #include "command.h" +#include "dictionary.h" #include "error.h" #include "lexer.h" #include "str.h" #include "var.h" -/* WEIGHT transformation. */ -struct weight_trns - { - struct trns_header h; - int src; /* `value' index of weighting variable. */ - int dest; /* `value' index of $WEIGHT. */ - }; +#include "gettext.h" +#define _(msgid) gettext (msgid) int cmd_weight (void)