From fd1b04932a07e146a0a3c4ce52ace068a112587b Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 11 May 2014 18:25:55 +0200 Subject: InputStream: remove attribute "plugin" --- src/archive/plugins/ZzipArchivePlugin.cxx | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'src/archive/plugins/ZzipArchivePlugin.cxx') diff --git a/src/archive/plugins/ZzipArchivePlugin.cxx b/src/archive/plugins/ZzipArchivePlugin.cxx index 53b6b9f93..436ebc793 100644 --- a/src/archive/plugins/ZzipArchivePlugin.cxx +++ b/src/archive/plugins/ZzipArchivePlugin.cxx @@ -64,8 +64,6 @@ public: Error &error) override; }; -extern const InputPlugin zzip_input_plugin; - static constexpr Domain zzip_domain("zzip"); /* archive open && listing routine */ @@ -105,7 +103,7 @@ struct ZzipInputStream final : public InputStream { ZzipInputStream(ZzipArchiveFile &_archive, const char *_uri, Mutex &_mutex, Cond &_cond, ZZIP_FILE *_file) - :InputStream(zzip_input_plugin, _uri, _mutex, _cond), + :InputStream(_uri, _mutex, _cond), archive(&_archive), file(_file) { //we are seekable (but its not recommendent to do so) seekable = true; @@ -185,13 +183,6 @@ static const char *const zzip_archive_extensions[] = { nullptr }; -const InputPlugin zzip_input_plugin = { - nullptr, - nullptr, - nullptr, - nullptr, -}; - const ArchivePlugin zzip_archive_plugin = { "zzip", nullptr, -- cgit v1.2.3