Sort all includes in src/gromacs
[alexxy/gromacs.git] / src / gromacs / pbcutil / mshift.cpp
index 94db47bd0797cb90cd4cd55e3d7c0ca0c2b89b17..346f029ead1de4ca142cc0102e3a0399418d4306 100644 (file)
  * To help us fund GROMACS development, we humbly ask that you cite
  * the research papers on the package. Check out http://www.gromacs.org.
  */
-#include "gromacs/pbcutil/mshift.h"
+#include "gmxpre.h"
 
-#include "config.h"
+#include "mshift.h"
 
 #include <string.h>
 
 #include <algorithm>
 
 #include "gromacs/legacyheaders/types/ifunc.h"
-
 #include "gromacs/math/vec.h"
 #include "gromacs/pbcutil/pbc.h"
 #include "gromacs/utility/fatalerror.h"
@@ -145,7 +144,7 @@ static void mk_igraph(t_graph *g, int ftype, t_ilist *il,
     }
 }
 
-GMX_ATTRIBUTE_NORETURN static void g_error(int line, const char *file)
+gmx_noreturn static void g_error(int line, const char *file)
 {
     gmx_fatal(FARGS, "Tring to print non existant graph (file %s, line %d)",
               file, line);