Rename freeFilesystems() to rpmFreeFilesystems() for namespacing
This commit is contained in:
parent
3b8da4ed11
commit
a6e75c7595
6
lib/fs.c
6
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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue