X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fmath%2Fmerge.c;h=45ae60706255d0f359f350d7f89f67e9c152bc64;hb=03da9f47f9e0980a10246060636f744a3f83763c;hp=af44855ce1cbb7718dd18d48d459fc5cfe15fa8a;hpb=5c3291dc396b795696e94f47780308fd7ace6fc4;p=pspp diff --git a/src/math/merge.c b/src/math/merge.c index af44855ce1..45ae607062 100644 --- a/src/math/merge.c +++ b/src/math/merge.c @@ -1,5 +1,5 @@ /* PSPP - a program for statistical analysis. - Copyright (C) 2007, 2009 Free Software Foundation, Inc. + Copyright (C) 2007, 2009, 2011 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -19,17 +19,17 @@ performance regression. */ #include -#include +#include "math/merge.h" -#include -#include -#include -#include -#include -#include -#include +#include "data/case.h" +#include "data/casereader.h" +#include "data/casewriter.h" +#include "data/subcase.h" +#include "libpspp/array.h" +#include "libpspp/assertion.h" +#include "libpspp/taint.h" -#include "xalloc.h" +#include "gl/xalloc.h" #define MAX_MERGE_ORDER 7 @@ -137,7 +137,7 @@ do_merge (struct merge *m) taint_propagate (casereader_get_taint (m->inputs[i].reader), casewriter_get_taint (w)); - for (i = 0; i < m->input_cnt; ) + for (i = 0; i < m->input_cnt;) if (read_input_case (m, i)) i++; while (m->input_cnt > 0)