Sort all includes in src/gromacs
[alexxy/gromacs.git] / src / gromacs / gmxpreprocess / ter_db.h
index 63c8279fdc2f6b461e73ddaa49dd3bd787eb5b4d..45477d620705a65421430521529d7b2258db012d 100644 (file)
@@ -3,7 +3,7 @@
  *
  * Copyright (c) 1991-2000, University of Groningen, The Netherlands.
  * Copyright (c) 2001-2004, The GROMACS development team.
- * Copyright (c) 2011, by the GROMACS development team, led by
+ * Copyright (c) 2011,2014, by the GROMACS development team, led by
  * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
  * and including many others, as listed in the AUTHORS file in the
  * top-level source directory and at http://www.gromacs.org.
  * the research papers on the package. Check out http://www.gromacs.org.
  */
 
-#ifndef _ter_db_h
-#define _ter_db_h
+#ifndef GMX_GMXPREPROCESS_TER_DB_H
+#define GMX_GMXPREPROCESS_TER_DB_H
 
-#include "sysstuff.h"
-#include "hackblock.h"
-#include "grompp.h"
+#include "gromacs/gmxpreprocess/grompp-impl.h"
+#include "gromacs/gmxpreprocess/hackblock.h"
 
-extern int read_ter_db(const char *ffdir, char ter,
-                       t_hackblock **tbptr, gpp_atomtype_t atype);
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+int read_ter_db(const char *ffdir, char ter,
+                t_hackblock **tbptr, gpp_atomtype_t atype);
 /* Read database for N&C terminal hacking */
 
-extern t_hackblock **filter_ter(int nrtp, t_restp rtp[],
-                                int nb, t_hackblock tb[],
-                                const char *resname,
-                                const char *rtpname,
-                                int *nret);
+t_hackblock **filter_ter(int nrtp, t_restp rtp[],
+                         int nb, t_hackblock tb[],
+                         const char *resname,
+                         const char *rtpname,
+                         int *nret);
 /* Return a list of pointers to blocks that match residue name */
 
-extern t_hackblock *choose_ter(int nb, t_hackblock **tb, const char *title);
+t_hackblock *choose_ter(int nb, t_hackblock **tb, const char *title);
 /* Interactively select one.. */
 
-#endif  /* _ter_db_h */
+#ifdef __cplusplus
+}
+#endif
+
+#endif