From 7ce03ea0b7d6bdf3d06cb0c7d16ad16f46f29405 Mon Sep 17 00:00:00 2001 From: giraffedata Date: Sun, 6 Mar 2022 21:46:13 +0000 Subject: cleanup git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@4294 9d0c8265-081b-0410-96cb-a4ca84ce46f8 --- urt/rle_open_f.c | 28 ---------------------------- 1 file changed, 28 deletions(-) (limited to 'urt/rle_open_f.c') 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 ); -} - - - -- cgit 1.4.1