aboutsummaryrefslogtreecommitdiffstats
path: root/src/storage/plugins
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-10-07 19:45:40 +0200
committerMax Kellermann <max@duempel.org>2014-10-09 07:45:25 +0200
commit3d2558bde6cebd6b628935f2852572cc7bb6eeab (patch)
treea2dcb1624f8d24cde3918c9ee955aae911c45417 /src/storage/plugins
parent1aac0b10c9499db77cbe39e43a0abc8cccc72079 (diff)
downloadmpd-3d2558bde6cebd6b628935f2852572cc7bb6eeab.tar.gz
mpd-3d2558bde6cebd6b628935f2852572cc7bb6eeab.tar.xz
mpd-3d2558bde6cebd6b628935f2852572cc7bb6eeab.zip
StoragePlugin: pass EventLoop to constructor
Diffstat (limited to 'src/storage/plugins')
-rw-r--r--src/storage/plugins/NfsStorage.cxx3
-rw-r--r--src/storage/plugins/SmbclientStorage.cxx3
2 files changed, 4 insertions, 2 deletions
diff --git a/src/storage/plugins/NfsStorage.cxx b/src/storage/plugins/NfsStorage.cxx
index 273d0aacc..e28e41a67 100644
--- a/src/storage/plugins/NfsStorage.cxx
+++ b/src/storage/plugins/NfsStorage.cxx
@@ -203,7 +203,8 @@ NfsStorage::OpenDirectory(const char *uri_utf8, Error &error)
}
static Storage *
-CreateNfsStorageURI(const char *base, Error &error)
+CreateNfsStorageURI(gcc_unused EventLoop &event_loop, const char *base,
+ Error &error)
{
if (memcmp(base, "nfs://", 6) != 0)
return nullptr;
diff --git a/src/storage/plugins/SmbclientStorage.cxx b/src/storage/plugins/SmbclientStorage.cxx
index 6eda05073..70a6e16bb 100644
--- a/src/storage/plugins/SmbclientStorage.cxx
+++ b/src/storage/plugins/SmbclientStorage.cxx
@@ -180,7 +180,8 @@ SmbclientDirectoryReader::GetInfo(gcc_unused bool follow, FileInfo &info,
}
static Storage *
-CreateSmbclientStorageURI(const char *base, Error &error)
+CreateSmbclientStorageURI(gcc_unused EventLoop &event_loop, const char *base,
+ Error &error)
{
if (memcmp(base, "smb://", 6) != 0)
return nullptr;