Remove unnecessary config.h includes
[alexxy/gromacs.git] / src / gromacs / gmxana / gmx_morph.c
index 2a6da609bb1792ad3a8c9c26bfdd59a05d679746..8e77699e8935121e8ee27e6bc965fa690644dc9b 100644 (file)
@@ -3,7 +3,7 @@
  *
  * Copyright (c) 1991-2000, University of Groningen, The Netherlands.
  * Copyright (c) 2001-2004, The GROMACS development team.
- * Copyright (c) 2013, by the GROMACS development team, led by
+ * Copyright (c) 2013,2014, by the GROMACS development team, led by
  * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
  * and including many others, as listed in the AUTHORS file in the
  * top-level source directory and at http://www.gromacs.org.
  * To help us fund GROMACS development, we humbly ask that you cite
  * the research papers on the package. Check out http://www.gromacs.org.
  */
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include "gmxpre.h"
 
-#include "gromacs/commandline/pargs.h"
-#include "smalloc.h"
-#include "macros.h"
+#include "gromacs/legacyheaders/macros.h"
 #include "gromacs/fileio/confio.h"
-#include "xvgr.h"
-#include "index.h"
-#include "do_fit.h"
+#include "gromacs/legacyheaders/viewit.h"
+#include "gromacs/topology/index.h"
 #include "gmx_ana.h"
-#include "gmx_fatal.h"
 #include "gromacs/fileio/trxio.h"
 
+#include "gromacs/commandline/pargs.h"
+#include "gromacs/fileio/xvgr.h"
+#include "gromacs/math/do_fit.h"
+#include "gromacs/topology/atoms.h"
+#include "gromacs/utility/fatalerror.h"
+#include "gromacs/utility/smalloc.h"
 
 static real dointerp(int n, rvec x1[], rvec x2[], rvec xx[],
                      int I, int N, real first, real last)
@@ -198,7 +198,7 @@ int gmx_morph(int argc, char *argv[])
 
     if (bRMS)
     {
-        ffclose(fp);
+        gmx_ffclose(fp);
         do_view(oenv, opt2fn("-or", NFILE, fnm), "-nxy");
     }