Sort all includes in src/gromacs
[alexxy/gromacs.git] / src / gromacs / legacyheaders / types / ifunc.h
index 7e3cc7cad0a4c9fadcfb71028ab9c9c84ffcad18..25d13c6f58e4544ab69c4e6acfc9e4eff0123d93 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) 2012, by the GROMACS development team, led by
+ * Copyright (c) 2012,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.
 #ifndef _ifunc_h
 #define _ifunc_h
 
-#include "idef.h"
-#include "mdatom.h"
-#include "fcdata.h"
-#include "graph.h"
-#include "pbc.h"
+#include "gromacs/legacyheaders/types/fcdata.h"
+#include "gromacs/legacyheaders/types/mdatom.h"
+#include "gromacs/topology/idef.h"
 
 #ifdef __cplusplus
 extern "C" {
 #endif
 
+struct t_graph;
+struct t_pbc;
 
 typedef real t_ifunc (int nbonds, const t_iatom iatoms[],
                       const t_iparams iparams[],
                       const rvec x[], rvec f[], rvec fshift[],
-                      const t_pbc *pbc, const t_graph *g,
+                      const struct t_pbc *pbc, const struct t_graph *g,
                       real lambda, real *dvdlambda,
                       const t_mdatoms *md, t_fcdata *fcd,
                       int *ddgatindex);