Rename ffopen and ffclose to gmx_ff*.
[alexxy/gromacs.git] / src / gromacs / gmxana / gmx_trjconv.c
index cda3df845597359a99e7938281f0870974e0cbfc..fa5f0561eb5a8b68fd812f064d49e7e8df0eb274 100644 (file)
@@ -1351,7 +1351,7 @@ int gmx_trjconv(int argc, char *argv[])
                 case efPDB:
                     if (( !bSeparate && !bSplit ) && !bSubTraj)
                     {
-                        out = ffopen(out_file, filemode);
+                        out = gmx_ffopen(out_file, filemode);
                     }
                     break;
                 default:
@@ -1789,7 +1789,7 @@ int gmx_trjconv(int argc, char *argv[])
                                         top_title, fr.time);
                                 if (bSeparate || bSplitHere)
                                 {
-                                    out = ffopen(out_file2, "w");
+                                    out = gmx_ffopen(out_file2, "w");
                                 }
                                 switch (ftp)
                                 {
@@ -1838,7 +1838,7 @@ int gmx_trjconv(int argc, char *argv[])
                                 }
                                 if (bSeparate)
                                 {
-                                    ffclose(out);
+                                    gmx_ffclose(out);
                                     out = NULL;
                                 }
                                 break;
@@ -1896,7 +1896,7 @@ int gmx_trjconv(int argc, char *argv[])
         }
         else if (out != NULL)
         {
-            ffclose(out);
+            gmx_ffclose(out);
         }
         if (bSubTraj)
         {