iso_file_source_new_lfs() can be static.

This commit is contained in:
Vreixo Formoso 2007-12-31 16:29:47 +01:00
parent baf7f14b11
commit c296ca9ff5
2 changed files with 5 additions and 7 deletions

View File

@ -26,6 +26,10 @@
#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.
*/
@ -421,6 +425,7 @@ IsoFileSourceIface lfs_class = {
* @return
* 1 success, < 0 error
*/
static
int iso_file_source_new_lfs(const char *path, IsoFileSource **src)
{
IsoFileSource *lfs_src;

View File

@ -331,13 +331,6 @@ IsoFilesystem* iso_file_source_get_filesystem(IsoFileSource *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_unref(IsoFilesystem *fs);