Sort all includes in src/gromacs
[alexxy/gromacs.git] / src / gromacs / mdlib / groupcoord.h
index 7ec6e3e712a4c60bf0b69bfda44de5657c9b07cb..686ce17517e2a1cc82c89801570fcd4383fc1158 100644 (file)
  * \inlibraryapi
  */
 
-#include "config.h"
-
 #include <stdio.h>
+
 #include "gromacs/legacyheaders/typedefs.h"
 #include "gromacs/legacyheaders/types/commrec.h"
 
+#ifdef __cplusplus
+extern "C" {
+#endif
 
 /*! \brief Select local atoms of a group.
  *
@@ -72,6 +74,7 @@
  *                            (collective) array such that it can be gmx_summed
  *                            in the communicate_group_positions routine.
  */
+
 extern void dd_make_local_group_indices(gmx_ga2la_t ga2la,
                                         const int nr, int anrs[], int *nr_loc,
                                         int *anrs_loc[], int *nalloc_loc,
@@ -202,3 +205,7 @@ extern void translate_x(rvec x[], const int nr, const rvec transvec);
  *
  */
 extern void rotate_x(rvec x[], const int nr, matrix rmat);
+
+#ifdef __cplusplus
+}
+#endif