More files to C++.
[alexxy/gromacs.git] / src / gromacs / gmxpreprocess / topdirs.h
index ff049e32bac78ee6860bc8c191c00d6610d4a249..17889d75e87f7853fae8d8318a8a94db9be3b5e4 100644 (file)
 
 #include "grompp.h"
 
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
 typedef struct tagDirStack {
     directive           d;
     struct tagDirStack *prev;
@@ -59,4 +64,8 @@ extern int  DS_Search (DirStack *DS, directive d);
 
 extern int  DS_Check_Order (DirStack *DS, directive d);
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif  /* _topdirs_h */