aboutsummaryrefslogtreecommitdiffstats
path: root/rdoff
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@linux.intel.com>2015-01-05 15:21:43 -0800
committerH. Peter Anvin <hpa@linux.intel.com>2015-01-05 15:21:43 -0800
commit12c0702824a83d371263b6ad07c6b047b12d686d (patch)
treee4624ebac516d395b35327f7f851355f30981608 /rdoff
parent724719b1da2f21d77745ff4606f5299a837c6633 (diff)
downloadnasm-12c0702824a83d371263b6ad07c6b047b12d686d.tar.gz
nasm-12c0702824a83d371263b6ad07c6b047b12d686d.tar.xz
nasm-12c0702824a83d371263b6ad07c6b047b12d686d.zip
rdoff/rdlib.c: Remove unused function rdl_close()
The function rdl_close() is never used, remove it. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'rdoff')
-rw-r--r--rdoff/rdlib.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/rdoff/rdlib.c b/rdoff/rdlib.c
index cf8d5e7c..7f8ddac7 100644
--- a/rdoff/rdlib.c
+++ b/rdoff/rdlib.c
@@ -126,13 +126,6 @@ int rdl_open(struct librarynode *lib, const char *name)
return 0;
}
-static void rdl_close(struct librarynode *lib)
-{
- if (lib->fp)
- fclose(lib->fp);
- free(lib->name);
-}
-
int rdl_searchlib(struct librarynode *lib, const char *label, rdffile * f)
{
char buf[512];