Reduced usage of typdefs.h
[alexxy/gromacs.git] / src / gromacs / legacyheaders / typedefs.h
index 92f883b1b6c52cce6e007f4464479b9b1ed2fd8f..c201ff6ac11f0bc6660b3153c01b11b48d93ecca 100644 (file)
@@ -71,6 +71,7 @@
 #include "types/constr.h"
 #include "types/matrix.h"
 #include "types/oenv.h"
+#include "types/commrec_fwd.h"
 
 #ifdef __cplusplus
 extern "C" {
@@ -200,13 +201,6 @@ t_atoms *mtop2atoms(gmx_mtop_t *mtop);
 real max_cutoff(real cutoff1, real cutoff2);
 /* Returns the maximum of the cut-off's, taking into account that 0=inf. */
 
-/* Following are forward declarations for structures in commrec.h */
-typedef struct t_commrec t_commrec;
-typedef struct gmx_domdec_t gmx_domdec_t;
-typedef struct gmx_multisim_t gmx_multisim_t;
-typedef struct gmx_domdec_zones_t gmx_domdec_zones_t;
-typedef struct gmx_ddbox_t gmx_ddbox_t;
-
 #ifdef __cplusplus
 }
 #endif