event/BackendEvents: relicense to BSD-2

These headers contain only trivial integer constants and these are
probably not even copyrightable.
This commit is contained in:
Max Kellermann 2023-03-12 19:49:58 +01:00
parent b5eff3cecd
commit 08dbb4a69a
4 changed files with 8 additions and 24 deletions

View File

@ -1,8 +1,6 @@
// SPDX-License-Identifier: GPL-2.0-or-later
// Copyright The Music Player Daemon Project
// SPDX-License-Identifier: BSD-2-Clause
#ifndef EVENT_BACKEND_EVENTS_HXX
#define EVENT_BACKEND_EVENTS_HXX
#pragma once
#include "event/Features.h"
@ -22,5 +20,3 @@ using EventPollBackendEvents = EpollEvents;
using EventPollBackendEvents = PollEvents;
#endif
#endif

View File

@ -1,8 +1,6 @@
// SPDX-License-Identifier: GPL-2.0-or-later
// Copyright The Music Player Daemon Project
// SPDX-License-Identifier: BSD-2-Clause
#ifndef EVENT_EPOLL_EVENTS_HXX
#define EVENT_EPOLL_EVENTS_HXX
#pragma once
#include <sys/epoll.h>
@ -12,5 +10,3 @@ struct EpollEvents {
static constexpr unsigned ERROR = EPOLLERR;
static constexpr unsigned HANGUP = EPOLLHUP;
};
#endif

View File

@ -1,8 +1,6 @@
// SPDX-License-Identifier: GPL-2.0-or-later
// Copyright The Music Player Daemon Project
// SPDX-License-Identifier: BSD-2-Clause
#ifndef EVENT_POLL_EVENTS_HXX
#define EVENT_POLL_EVENTS_HXX
#pragma once
#include <sys/poll.h>
@ -12,5 +10,3 @@ struct PollEvents {
static constexpr unsigned ERROR = POLLERR;
static constexpr unsigned HANGUP = POLLHUP;
};
#endif

View File

@ -1,8 +1,6 @@
// SPDX-License-Identifier: GPL-2.0-or-later
// Copyright The Music Player Daemon Project
// SPDX-License-Identifier: BSD-2-Clause
#ifndef EVENT_WINSELECT_EVENTS_HXX
#define EVENT_WINSELECT_EVENTS_HXX
#pragma once
#include <windows.h>
@ -18,5 +16,3 @@ struct WinSelectEvents {
static constexpr unsigned ERROR = 0;
static constexpr unsigned HANGUP = 0;
};
#endif