Compile nonbonded kernels as C++
[alexxy/gromacs.git] / src / gromacs / mdlib / nbnxn_util.h
index 28bedf67d5aaf40cf13bfe21ecf5888b862be2a6..9a30187d387140c79fc02067c1b313efb3a7d385 100644 (file)
 #include "gromacs/simd/simd.h"
 #include "gromacs/utility/fatalerror.h"
 
-#ifdef __cplusplus
-extern "C" {
-#endif
-
 
 /* Returns the base-2 log of n.
  * Generates a fatal error when n is not an integer power of 2.
@@ -125,8 +121,4 @@ static inline int nbnxn_kernel_to_cluster_j_size(int nb_kernel_type)
 }
 
 
-#ifdef __cplusplus
-}
-#endif
-
 #endif