More files to C++.
[alexxy/gromacs.git] / src / gromacs / gmxpreprocess / pgutil.h
index bedc68468de89683a39516d607c94e83b7b04b47..e193ee10ee0a2c8a06a67dc41c947722a4584007 100644 (file)
 
 #include "typedefs.h"
 
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
 extern atom_id search_atom(const char *type, int start,
                            t_atoms *atoms,
                            const char *bondtype, gmx_bool bAllowMissing);
@@ -50,4 +55,8 @@ extern atom_id search_atom(const char *type, int start,
 
 extern void set_at(t_atom *at, real m, real q, int type, int resind);
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif  /* _pgutil_h */