Rename ffopen and ffclose to gmx_ff*.
[alexxy/gromacs.git] / src / contrib / ehdata.c
index 3ed98f87e925878a2f391c05a59deab6890f54d7..0f9bec9cc18295ac50f93edb1a3ce741c4b63a58 100644 (file)
@@ -83,7 +83,7 @@ static t_p2Ddata *read_p2Ddata(char *fn)
   double  e,p,o;
   
   fprintf(stdout,"Going to read %s\n",fn);
-  fp = ffopen(fn,"r");
+  fp = gmx_ffopen(fn,"r");
 
   /* Allocate memory and set constants */
   snew(p2Ddata,1);
@@ -121,7 +121,7 @@ static t_p2Ddata *read_p2Ddata(char *fn)
   }
   fprintf(stderr,"\n");
   
-  ffclose(fp);
+  gmx_ffclose(fp);
   
   return p2Ddata;
 }
@@ -134,7 +134,7 @@ static t_pq_inel *read_pq(char *fn)
   double    e,p,o,t;
   
   fprintf(stdout,"Going to read %s\n",fn);
-  fp = ffopen(fn,"r");
+  fp = gmx_ffopen(fn,"r");
 
   /* Allocate memory and set constants */
   snew(pq,1);
@@ -178,7 +178,7 @@ static t_pq_inel *read_pq(char *fn)
   }
   fprintf(stderr,"\n");
   
-  ffclose(fp);
+  gmx_ffclose(fp);
   
   return pq;
 }