Remove unnecessary config.h includes
[alexxy/gromacs.git] / src / gromacs / trajectoryanalysis / modules / nsc.c
index ce7f5d66253694c5db031ec24facde63b8c6af5f..ffc58420e39ac3d414131e91c29ff920165eabd2 100644 (file)
  * 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 <stdio.h>
 #include <string.h>
 #include <stdlib.h>
 #include <math.h>
 #include <stdarg.h>
+
 /* Modified DvdS */
-#include "pbc.h"
-#include "macros.h"
-#include "vec.h"
-#include "smalloc.h"
+#include "gromacs/pbcutil/pbc.h"
+#include "gromacs/legacyheaders/macros.h"
+#include "gromacs/math/vec.h"
+#include "gromacs/utility/smalloc.h"
 #include "nsc.h"
 
 #define TEST_NSC 0
@@ -778,7 +777,6 @@ int nsc_dclm_pbc(const rvec *coords, real *radius, int nat,
         xmin   = coords[iat][XX]; xmax = xmin; xs = xmin;
         ymin   = coords[iat][YY]; ymax = ymin; ys = ymin;
         zmin   = coords[iat][ZZ]; zmax = zmin; zs = zmin;
-        ra2max = radius[iat];
 
         for (iat_xx = 1; (iat_xx < nat); iat_xx++)
         {