Remove unnecessary config.h includes
[alexxy/gromacs.git] / src / gromacs / gmxana / dlist.c
index 3f86100cbe6562910a6498c5568b77d4e6ba0419..d1e1d27a3bb6f223d128af72186e8907446c9696 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 <stdlib.h>
 #include <string.h>
 
-#include "gromacs/utility/smalloc.h"
 #include "gstat.h"
+
+#include "gromacs/topology/residuetypes.h"
 #include "gromacs/utility/fatalerror.h"
-#include "index.h"
+#include "gromacs/utility/smalloc.h"
 
 t_dlist *mk_dlist(FILE *log,
                   t_atoms *atoms, int *nlist,
                   gmx_bool bPhi, gmx_bool bPsi, gmx_bool bChi, gmx_bool bHChi,
-                  int maxchi, int r0, gmx_residuetype_t rt)
+                  int maxchi, int r0, gmx_residuetype_t *rt)
 {
     int       ires, i, j, k, ii;
     t_dihatms atm, prev;