Clean up cshake() and resolve old issues
[alexxy/gromacs.git] / src / gromacs / legacyheaders / constr.h
index 9d01ba8ccca9e4565485466dbc0ba4eb8664ce15..79ac3a7bf028af4cf6c26ab75ba33d217be3dbcf 100644 (file)
@@ -125,9 +125,9 @@ void settle_proj(gmx_settledata_t settled, int econq,
  * of coordinates working on settle type constraint.
  */
 
-void cshake(atom_id iatom[], int ncon, int *nnit, int maxnit,
-            real dist2[], real xp[], real rij[], real m2[], real omega,
-            real invmass[], real tt[], real lagr[], int *nerror);
+void cshake(const atom_id iatom[], int ncon, int *nnit, int maxnit,
+            const real dist2[], real xp[], const real rij[], const real m2[], real omega,
+            const real invmass[], const real tt[], real lagr[], int *nerror);
 /* Regular iterative shake */
 
 void crattle(atom_id iatom[], int ncon, int *nnit, int maxnit,