From 9616fa5cc9c44c7948c95f922c6101e564c8cc2f Mon Sep 17 00:00:00 2001 From: Bartosz Golaszewski Date: Sun, 4 Mar 2018 10:50:11 +0100 Subject: [PATCH] include: use SPDX license identifier Use the SPDX license identifier for LGPLv2.1 or later in the public API header and the corresponding Makefile.am. Signed-off-by: Bartosz Golaszewski --- include/Makefile.am | 9 ++++----- include/gpiod.h | 6 +----- 2 files changed, 5 insertions(+), 10 deletions(-) diff --git a/include/Makefile.am b/include/Makefile.am index c40bfb6..dc1afa9 100644 --- a/include/Makefile.am +++ b/include/Makefile.am @@ -1,10 +1,9 @@ +# SPDX-License-Identifier: LGPL-2.1-or-later + # -# Copyright (C) 2017-2018 Bartosz Golaszewski +# This file is part of libgpiod. # -# This program is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or (at -# your option) any later version. +# Copyright (C) 2017-2018 Bartosz Golaszewski # include_HEADERS = gpiod.h diff --git a/include/gpiod.h b/include/gpiod.h index c8ba3e2..166b14d 100644 --- a/include/gpiod.h +++ b/include/gpiod.h @@ -1,12 +1,8 @@ +/* SPDX-License-Identifier: LGPL-2.1-or-later */ /* * This file is part of libgpiod. * * Copyright (C) 2017-2018 Bartosz Golaszewski - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or (at - * your option) any later version. */ #ifndef __LIBGPIOD_GPIOD_H__ -- 2.30.2