iso_file_source_new_lfs() can be static.
This commit is contained in:
parent
baf7f14b11
commit
c296ca9ff5
@ -26,6 +26,10 @@
|
|||||||
|
|
||||||
#define ISO_LOCAL_FS_ID 1
|
#define ISO_LOCAL_FS_ID 1
|
||||||
|
|
||||||
|
|
||||||
|
static
|
||||||
|
int iso_file_source_new_lfs(const char *path, IsoFileSource **src);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* We can share a local filesystem object, as it has no private atts.
|
* We can share a local filesystem object, as it has no private atts.
|
||||||
*/
|
*/
|
||||||
@ -421,6 +425,7 @@ IsoFileSourceIface lfs_class = {
|
|||||||
* @return
|
* @return
|
||||||
* 1 success, < 0 error
|
* 1 success, < 0 error
|
||||||
*/
|
*/
|
||||||
|
static
|
||||||
int iso_file_source_new_lfs(const char *path, IsoFileSource **src)
|
int iso_file_source_new_lfs(const char *path, IsoFileSource **src)
|
||||||
{
|
{
|
||||||
IsoFileSource *lfs_src;
|
IsoFileSource *lfs_src;
|
||||||
|
@ -331,13 +331,6 @@ IsoFilesystem* iso_file_source_get_filesystem(IsoFileSource *src)
|
|||||||
return src->class->get_filesystem(src);
|
return src->class->get_filesystem(src);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Create a new IsoFileSource from a local filesystem path.
|
|
||||||
* While this is usually called by corresponding method in IsoFilesystem
|
|
||||||
* object, for local filesystem it is legal to call this directly.
|
|
||||||
*/
|
|
||||||
int iso_file_source_new_lfs(const char *path, IsoFileSource **src);
|
|
||||||
|
|
||||||
void iso_filesystem_ref(IsoFilesystem *fs);
|
void iso_filesystem_ref(IsoFilesystem *fs);
|
||||||
void iso_filesystem_unref(IsoFilesystem *fs);
|
void iso_filesystem_unref(IsoFilesystem *fs);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user