* the research papers on the package. Check out http://www.gromacs.org.
*/
/* This file is completely threadsafe - keep it that way! */
-#include "config.h"
+#include "gmxpre.h"
#include <math.h>
#include <stdio.h>
#include <string.h>
-#include "macros.h"
-#include "gromacs/utility/smalloc.h"
-#include "gromacs/utility/futil.h"
-#include "txtdump.h"
-#include "gromacs/utility/fatalerror.h"
-#include "names.h"
+
+#include "gromacs/fileio/enxio.h"
#include "gromacs/fileio/tpxio.h"
#include "gromacs/fileio/trxio.h"
-#include "gromacs/fileio/enxio.h"
+#include "gromacs/legacyheaders/macros.h"
+#include "gromacs/legacyheaders/names.h"
+#include "gromacs/legacyheaders/txtdump.h"
#include "gromacs/topology/mtop_util.h"
#include "gromacs/utility/cstringutil.h"
+#include "gromacs/utility/fatalerror.h"
+#include "gromacs/utility/futil.h"
+#include "gromacs/utility/smalloc.h"
static void cmp_int(FILE *fp, const char *s, int index, int i1, int i2)
{
{
if (index != -1)
{
- fprintf(fp, "%s[%d] (%u - %u)\n", s, index, i1, i2);
+ fprintf(fp, "%s[%d] (%hu - %hu)\n", s, index, i1, i2);
}
else
{
- fprintf(fp, "%s (%u - %u)\n", s, i1, i2);
+ fprintf(fp, "%s (%hu - %hu)\n", s, i1, i2);
}
}
}