diff --git a/src/lib/smbclient/Mutex.cxx b/src/lib/smbclient/Mutex.cxx deleted file mode 100644 index 7ab4bfbb1..000000000 --- a/src/lib/smbclient/Mutex.cxx +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2003-2020 The Music Player Daemon Project - * http://www.musicpd.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - */ - -#include "Mutex.hxx" - -Mutex smbclient_mutex; diff --git a/src/lib/smbclient/Mutex.hxx b/src/lib/smbclient/Mutex.hxx deleted file mode 100644 index d5fec83ea..000000000 --- a/src/lib/smbclient/Mutex.hxx +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Copyright 2003-2020 The Music Player Daemon Project - * http://www.musicpd.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - */ - -#ifndef MPD_SMBCLIENT_MUTEX_HXX -#define MPD_SMBCLIENT_MUTEX_HXX - -#include "thread/Mutex.hxx" - -/** - * Since libsmbclient is not thread-safe, this mutex must be locked - * during all libsmbclient function calls. - */ -extern Mutex smbclient_mutex; - -#endif diff --git a/src/lib/smbclient/meson.build b/src/lib/smbclient/meson.build index 24aee8c7c..9c159dd65 100644 --- a/src/lib/smbclient/meson.build +++ b/src/lib/smbclient/meson.build @@ -7,7 +7,6 @@ endif smbclient = static_library( 'smbclient', 'Domain.cxx', - 'Mutex.cxx', 'Init.cxx', 'Context.cxx', include_directories: inc,