Rename freeFilesystems() to rpmFreeFilesystems() for namespacing

This commit is contained in:
Panu Matilainen 2007-09-20 15:22:59 +03:00
parent 3b8da4ed11
commit a6e75c7595
3 changed files with 5 additions and 5 deletions

View File

@ -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;
}

View File

@ -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.

View File

@ -852,7 +852,7 @@ exit:
}
/* keeps memory leak checkers quiet */
freeFilesystems();
rpmFreeFilesystems();
rpmlogClose();
/* XXX FIXME: hide this in the api */
dbiTags = _free(dbiTags);