Rename ffopen and ffclose to gmx_ff*.
[alexxy/gromacs.git] / src / gromacs / gmxana / gmx_editconf.c
index 48f0f07a3f3c83f21d1f16140be24954b558720d..a28cb57450a9eabb0f1dda94f3a43a0e8a20d9e3 100644 (file)
@@ -1273,9 +1273,9 @@ int gmx_editconf(int argc, char *argv[])
 
         if (outftp == efPDB)
         {
-            out = ffopen(outfile, "w");
+            out = gmx_ffopen(outfile, "w");
             write_pdbfile_indexed(out, title, &atoms, x, ePBC, box, ' ', 1, isize, index, conect, TRUE);
-            ffclose(out);
+            gmx_ffclose(out);
         }
         else
         {
@@ -1291,7 +1291,7 @@ int gmx_editconf(int argc, char *argv[])
 
         if ((outftp == efPDB) || (outftp == efPQR))
         {
-            out = ffopen(outfile, "w");
+            out = gmx_ffopen(outfile, "w");
             if (bMead)
             {
                 set_pdb_wide_format(TRUE);
@@ -1331,7 +1331,7 @@ int gmx_editconf(int argc, char *argv[])
                 visualize_box(out, bLegend ? atoms.nr+12 : atoms.nr,
                               bLegend ? atoms.nres = 12 : atoms.nres, box, visbox);
             }
-            ffclose(out);
+            gmx_ffclose(out);
         }
         else
         {