* 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 "gmx_fatal.h"
-#include "index.h"
+
+#include "gromacs/topology/residuetypes.h"
+#include "gromacs/utility/fatalerror.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;