diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2007-09-20 15:22:59 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2007-09-20 15:22:59 +0300 |
commit | a6e75c7595b64736d2a449c6d0191439c13abc85 (patch) | |
tree | 56dbb9ae11d09e6741f57e69044f98e052f97137 | |
parent | 3b8da4ed118c6da6dab1cb7c0ecd0933c6d14f14 (diff) | |
download | rpm-a6e75c7595b64736d2a449c6d0191439c13abc85.tar.gz rpm-a6e75c7595b64736d2a449c6d0191439c13abc85.tar.bz2 rpm-a6e75c7595b64736d2a449c6d0191439c13abc85.zip |
Rename freeFilesystems() to rpmFreeFilesystems() for namespacing
-rw-r--r-- | lib/fs.c | 6 | ||||
-rw-r--r-- | lib/rpmlib.h | 2 | ||||
-rw-r--r-- | rpmqv.c | 2 |
3 files changed, 5 insertions, 5 deletions
@@ -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. @@ -852,7 +852,7 @@ exit: } /* keeps memory leak checkers quiet */ - freeFilesystems(); + rpmFreeFilesystems(); rpmlogClose(); /* XXX FIXME: hide this in the api */ dbiTags = _free(dbiTags); |