Converted gmxpreprocess to compile as C++
[alexxy/gromacs.git] / src / gromacs / gmxpreprocess / fflibutil.h
index 572235eee9b412c6b2d2ac92d2c816624fba4c55..1c0d6597c0d62a22e9ccc484683f218652126078 100644 (file)
 
 #include <stdio.h>
 
-#include "gromacs/utility/basedefinitions.h"
-
-#ifdef __cplusplus
 #include <vector>
 
+#include "gromacs/utility/basedefinitions.h"
 #include "gromacs/utility/datafilefinder.h"
 
 /*! \brief
@@ -50,9 +48,6 @@
  */
 std::vector<gmx::DataFileInfo> fflib_enumerate_forcefields();
 
-extern "C" {
-#endif
-
 const char *fflib_forcefield_dir_ext();
 /* Returns the name of the force field directory extension */
 
@@ -86,8 +81,4 @@ FILE *fflib_open(const char *file);
  * either absolute or relative to the current dir.
  */
 
-#ifdef __cplusplus
-}
-#endif
-
 #endif