summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2007-09-20 15:22:59 +0300
committerPanu Matilainen <pmatilai@redhat.com>2007-09-20 15:22:59 +0300
commita6e75c7595b64736d2a449c6d0191439c13abc85 (patch)
tree56dbb9ae11d09e6741f57e69044f98e052f97137
parent3b8da4ed118c6da6dab1cb7c0ecd0933c6d14f14 (diff)
downloadrpm-a6e75c7595b64736d2a449c6d0191439c13abc85.tar.gz
rpm-a6e75c7595b64736d2a449c6d0191439c13abc85.tar.bz2
rpm-a6e75c7595b64736d2a449c6d0191439c13abc85.zip
Rename freeFilesystems() to rpmFreeFilesystems() for namespacing
-rw-r--r--lib/fs.c6
-rw-r--r--lib/rpmlib.h2
-rw-r--r--rpmqv.c2
3 files changed, 5 insertions, 5 deletions
diff --git a/lib/fs.c b/lib/fs.c
index 55f9ca354..30e268a5d 100644
--- a/lib/fs.c
+++ b/lib/fs.c
@@ -18,7 +18,7 @@ static struct fsinfo * filesystems = NULL;
static const char ** fsnames = NULL;
static int numFilesystems = 0;
-void freeFilesystems(void)
+void rpmFreeFilesystems(void)
{
int i;
@@ -105,7 +105,7 @@ static int getFilesystemList(void)
rpmError(RPMERR_STAT, _("failed to stat %s: %s\n"), fsnames[i],
strerror(errno));
- freeFilesystems();
+ rpmFreeFilesystems();
return 1;
}
}
@@ -197,7 +197,7 @@ static int getFilesystemList(void)
rpmError(RPMERR_STAT, _("failed to stat %s: %s\n"), mntdir,
strerror(errno));
- freeFilesystems();
+ rpmFreeFilesystems();
return 1;
}
diff --git a/lib/rpmlib.h b/lib/rpmlib.h
index 4f8fc3fd4..b1afd4830 100644
--- a/lib/rpmlib.h
+++ b/lib/rpmlib.h
@@ -1034,7 +1034,7 @@ char reserved[16]; /*!< Pad to 96 bytes -- 8 byte aligned! */
/**
* Release storage used by file system usage cache.
*/
-void freeFilesystems(void);
+void rpmFreeFilesystems(void);
/**
* Return (cached) file system mount points.
diff --git a/rpmqv.c b/rpmqv.c
index e051f748e..f750b4208 100644
--- a/rpmqv.c
+++ b/rpmqv.c
@@ -852,7 +852,7 @@ exit:
}
/* keeps memory leak checkers quiet */
- freeFilesystems();
+ rpmFreeFilesystems();
rpmlogClose();
/* XXX FIXME: hide this in the api */
dbiTags = _free(dbiTags);