Browse Source

iso_file_source_new_lfs() can be static.

release-1.5.4.branch
Vreixo Formoso 14 years ago
parent
commit
c296ca9ff5
  1. 5
      src/fs_local.c
  2. 7
      src/fsource.h

5
src/fs_local.c

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

7
src/fsource.h

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

Loading…
Cancel
Save