Throw on failure in gmx_file_rename
[alexxy/gromacs.git] / src / gromacs / utility / futil.h
index ded880b5f6ce12ecb460f1e423c55bd12b32aeae..fb57965007baa3c6cf637aa99f2f47998b342963 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,2018,2019, by the GROMACS development team, led by
+ * Copyright (c) 2013,2014,2015,2018,2019,2021, 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.
@@ -189,7 +189,7 @@ void gmx_tmpnam(char* buf);
  *
  * Renames/moves a file atomically, if the OS makes that available.
  */
-int gmx_file_rename(const char* oldname, const char* newname);
+void gmx_file_rename(const char* oldname, const char* newname);
 
 /*! \brief
  * Copies a file (data only) oldname to newname.