Sort all includes in src/gromacs
[alexxy/gromacs.git] / src / gromacs / fileio / trajectory_writing.h
index 65e8e067ea158162379079872ea76d24852bd7bc..37956342b12935f467d4e37efff681e0969a0748 100644 (file)
 #define GMX_FILEIO_TRAJECTORY_WRITING_H
 
 #include <stdio.h>
-#include "filenm.h"
-#include "mdoutf.h"
-#include "../legacyheaders/typedefs.h"
-#include "../legacyheaders/mdebin.h"
+
+#include "gromacs/fileio/filenm.h"
+#include "gromacs/fileio/mdoutf.h"
+#include "gromacs/legacyheaders/mdebin.h"
+#include "gromacs/legacyheaders/types/commrec_fwd.h"
+#include "gromacs/timing/wallcycle.h"
+
+#ifdef __cplusplus
+extern "C" {
+#endif
 
 /*! \brief Wrapper routine for writing trajectories during mdrun
  *
@@ -66,7 +72,6 @@ do_md_trajectory_writing(FILE           *fplog,
                          gmx_ekindata_t *ekind,
                          rvec           *f,
                          rvec           *f_global,
-                         gmx_wallcycle_t wcycle,
                          int            *nchkpt,
                          gmx_bool        bCPT,
                          gmx_bool        bRerunMD,
@@ -76,4 +81,8 @@ do_md_trajectory_writing(FILE           *fplog,
                          );
 
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* GMX_FILEIO_TRAJECTORY_WRITING_H */