diff --git a/src/fs_local.c b/src/fs_local.c index 3330282..a331df5 100644 --- a/src/fs_local.c +++ b/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; diff --git a/src/fsource.h b/src/fsource.h index 5dfc463..1961f8c 100644 --- a/src/fsource.h +++ b/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);