Remove gmx custom fixed int (e.g. gmx_int64_t) types
[alexxy/gromacs.git] / src / gromacs / fileio / xtcio.cpp
index f37fd5b03fb8a6bc32d871eb99a1277533581bc4..86bd6027b706ed8fb33211e9e27eb61c99d63c11 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) 2013,2014,2015,2016, by the GROMACS development team, led by
+ * Copyright (c) 2013,2014,2015,2016,2018, 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.
@@ -109,7 +109,7 @@ static int xtc_check(const char *str, gmx_bool bResult, const char *file, int li
 
 #define XTC_CHECK(s, b) xtc_check(s, b, __FILE__, __LINE__)
 
-static int xtc_header(XDR *xd, int *magic, int *natoms, gmx_int64_t *step, real *time,
+static int xtc_header(XDR *xd, int *magic, int *natoms, int64_t *step, real *time,
                       gmx_bool bRead, gmx_bool *bOK)
 {
     int result;
@@ -199,7 +199,7 @@ static int xtc_coord(XDR *xd, int *natoms, rvec *box, rvec *x, real *prec, gmx_b
 
 
 int write_xtc(t_fileio *fio,
-              int natoms, gmx_int64_t step, real time,
+              int natoms, int64_t step, real time,
               const rvec *box, const rvec *x, real prec)
 {
     int      magic_number = XTC_MAGIC;
@@ -235,7 +235,7 @@ int write_xtc(t_fileio *fio,
     return bOK; /* 0 if bad, 1 if writing went well */
 }
 
-int read_first_xtc(t_fileio *fio, int *natoms, gmx_int64_t *step, real *time,
+int read_first_xtc(t_fileio *fio, int *natoms, int64_t *step, real *time,
                    matrix box, rvec **x, real *prec, gmx_bool *bOK)
 {
     int  magic;
@@ -261,7 +261,7 @@ int read_first_xtc(t_fileio *fio, int *natoms, gmx_int64_t *step, real *time,
 }
 
 int read_next_xtc(t_fileio* fio,
-                  int natoms, gmx_int64_t *step, real *time,
+                  int natoms, int64_t *step, real *time,
                   matrix box, rvec *x, real *prec, gmx_bool *bOK)
 {
     int  magic;