From 3d2558bde6cebd6b628935f2852572cc7bb6eeab Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 7 Oct 2014 19:45:40 +0200 Subject: StoragePlugin: pass EventLoop to constructor --- src/storage/plugins/NfsStorage.cxx | 3 ++- src/storage/plugins/SmbclientStorage.cxx | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'src/storage/plugins') 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; -- cgit v1.2.3