about summary refs log tree commit diff
path: root/urt/rle_open_f.c
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2022-03-06 21:46:13 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2022-03-06 21:46:13 +0000
commit7ce03ea0b7d6bdf3d06cb0c7d16ad16f46f29405 (patch)
tree338d68cd430e37880e385f3f9fb2f4b9359a8756 /urt/rle_open_f.c
parentc49e2bfb92ebe11c4b04342dc0aa81898b53e8fc (diff)
downloadnetpbm-mirror-7ce03ea0b7d6bdf3d06cb0c7d16ad16f46f29405.tar.gz
netpbm-mirror-7ce03ea0b7d6bdf3d06cb0c7d16ad16f46f29405.tar.xz
netpbm-mirror-7ce03ea0b7d6bdf3d06cb0c7d16ad16f46f29405.zip
cleanup
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@4294 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'urt/rle_open_f.c')
-rw-r--r--urt/rle_open_f.c28
1 files changed, 0 insertions, 28 deletions
diff --git a/urt/rle_open_f.c b/urt/rle_open_f.c
index 1aeb6448..65362a53 100644
--- a/urt/rle_open_f.c
+++ b/urt/rle_open_f.c
@@ -322,31 +322,3 @@ rle_open_f(const char * prog_name, const char * file_name, const char * mode)
     return fp;
 }
 
-
-/*****************************************************************
- * 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 );
-}
-
-
-