about summary refs log tree commit diff
path: root/urt/rle_open_f.c
diff options
context:
space:
mode:
Diffstat (limited to 'urt/rle_open_f.c')
-rw-r--r--urt/rle_open_f.c27
1 files changed, 0 insertions, 27 deletions
diff --git a/urt/rle_open_f.c b/urt/rle_open_f.c
index 1aeb6448..834a0c6d 100644
--- a/urt/rle_open_f.c
+++ b/urt/rle_open_f.c
@@ -226,7 +226,6 @@ dealWithSubprocess(const char *  const file_name,
 
 
 
-
 /*
  *  Purpose : Open a file for input or output as controlled by the mode
  *  parameter.  If no file name is specified (ie. file_name is null) then
@@ -323,30 +322,4 @@ rle_open_f(const char * prog_name, const char * file_name, const char * mode)
 }
 
 
-/*****************************************************************
- * TAG( rle_close_f )
- *
- * Close a file opened by rle_open_f.  If the file is stdin or stdout,
- * it will not be closed.
- * Inputs:
- *  fd: File to close.
- * Outputs:
- *  None.
- * Assumptions:
- *  fd is open.
- * Algorithm:
- *  If fd is NULL, just return.
- *  If fd is stdin or stdout, don't close it.  Otherwise, call fclose.
- */
-void
-rle_close_f( fd )
-    FILE *fd;
-{
-    if ( fd == NULL || fd == stdin || fd == stdout )
-        return;
-    else
-        fclose( fd );
-}
-
-