bindings: cxx: use SPDX license identifier
authorBartosz Golaszewski <bartekgola@gmail.com>
Sun, 4 Mar 2018 11:09:27 +0000 (12:09 +0100)
committerBartosz Golaszewski <bartekgola@gmail.com>
Sun, 4 Mar 2018 11:09:27 +0000 (12:09 +0100)
Use the SPDX license identifier for LGPLv2.1 or later in C++ bindings
directory.

Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.com>
14 files changed:
bindings/cxx/Makefile.am
bindings/cxx/chip.cpp
bindings/cxx/examples/Makefile.am
bindings/cxx/examples/gpiod_cxx_tests.cpp
bindings/cxx/examples/gpiodetectcxx.cpp
bindings/cxx/examples/gpiofindcxx.cpp
bindings/cxx/examples/gpiogetcxx.cpp
bindings/cxx/examples/gpioinfocxx.cpp
bindings/cxx/examples/gpiomoncxx.cpp
bindings/cxx/examples/gpiosetcxx.cpp
bindings/cxx/gpiod.hpp
bindings/cxx/iter.cpp
bindings/cxx/line.cpp
bindings/cxx/line_bulk.cpp

index e7ad36acba9f460757b1fc581192057137caecf4..f7b3f17330d99dd01b7d7262db6f162e809c1c5e 100644 (file)
@@ -1,10 +1,9 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
+
 #
-# Copyright (C) 2017-2018 Bartosz Golaszewski <bartekgola@gmail.com>
+# 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 <bartekgola@gmail.com>
 #
 
 lib_LTLIBRARIES = libgpiodcxx.la
index 43b411d49dd2bb466d8cefcb1f6ccfc97f0ba8d9..a1b535651df7263719a16d9d0fab6fb310dfbe60 100644 (file)
@@ -1,12 +1,8 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 /*
  * This file is part of libgpiod.
  *
  * Copyright (C) 2017-2018 Bartosz Golaszewski <bartekgola@gmail.com>
- *
- * 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.
  */
 
 #include <gpiod.hpp>
index e521137da6dc221b03c8058340aa47c75cac67da..201e1dba06aa8afbffc08ce65432a609db0541ea 100644 (file)
@@ -1,10 +1,9 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
+
 #
-# Copyright (C) 2017-2018 Bartosz Golaszewski <bartekgola@gmail.com>
+# 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 <bartekgola@gmail.com>
 #
 
 AM_CPPFLAGS = -I$(top_srcdir)/bindings/cxx/ -I$(top_srcdir)/include
index a7d041881b605d0cc1801c27001f6fdd0848f315..7d4d9e5bbebae5df6a3379b6d25f05b7c7b91334 100644 (file)
@@ -1,12 +1,8 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 /*
  * This file is part of libgpiod.
  *
  * Copyright (C) 2017-2018 Bartosz Golaszewski <bartekgola@gmail.com>
- *
- * 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.
  */
 
 /* Misc tests/examples of the C++ API. */
index bcecf04fbbe84639aec366097c5c1e4ec001861f..118dc17b29f07bcf4446609f592c1cff68184950 100644 (file)
@@ -1,12 +1,8 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 /*
  * This file is part of libgpiod.
  *
  * Copyright (C) 2017-2018 Bartosz Golaszewski <bartekgola@gmail.com>
- *
- * 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.
  */
 
 /* C++ reimplementation of the gpiodetect tool. */
index 382032ba26413fdfec79a72e287fbf978f83af20..08bcfbfc0899f207c33507b1fd94b6c217aaef03 100644 (file)
@@ -1,12 +1,8 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 /*
  * This file is part of libgpiod.
  *
  * Copyright (C) 2017-2018 Bartosz Golaszewski <bartekgola@gmail.com>
- *
- * 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.
  */
 
 /* C++ reimplementation of the gpiofind tool. */
index fb372f715052d976133a4ef285925b0de4555500..867813644b62c6d1b3929c0da9acd74df93e4956 100644 (file)
@@ -1,12 +1,8 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 /*
  * This file is part of libgpiod.
  *
  * Copyright (C) 2017-2018 Bartosz Golaszewski <bartekgola@gmail.com>
- *
- * 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.
  */
 
 /* Simplified C++ reimplementation of the gpioget tool. */
index 5be60bd5056b712b1d67b489d6c8a6ee066f7033..d881f1ac2faa419760919028b0b716b085492c79 100644 (file)
@@ -1,12 +1,8 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 /*
  * This file is part of libgpiod.
  *
  * Copyright (C) 2017-2018 Bartosz Golaszewski <bartekgola@gmail.com>
- *
- * 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.
  */
 
 /* Simplified C++ reimplementation of the gpioinfo tool. */
index 640aba89631a19f347cec753aad20c6bbfe003b0..ac1129038a3a5b95530bc51257c8493f052541e0 100644 (file)
@@ -1,12 +1,8 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 /*
  * This file is part of libgpiod.
  *
  * Copyright (C) 2017-2018 Bartosz Golaszewski <bartekgola@gmail.com>
- *
- * 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.
  */
 
 /* Simplified C++ reimplementation of the gpiomon tool. */
index d5636294791a66e2b4c59df18bf7ff49256910dd..ee6a69dc251b0eb7b9b0f437b8b83b915bc2d17c 100644 (file)
@@ -1,12 +1,8 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 /*
  * This file is part of libgpiod.
  *
  * Copyright (C) 2017-2018 Bartosz Golaszewski <bartekgola@gmail.com>
- *
- * 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.
  */
 
 /* Simplified C++ reimplementation of the gpioset tool. */
index 032cb512257a890e3c5c07842b6cee32601f4827..d066ca80ade6bfce5eee3f726941d6cd4b87055c 100644 (file)
@@ -1,12 +1,8 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 /*
  * This file is part of libgpiod.
  *
  * Copyright (C) 2017-2018 Bartosz Golaszewski <bartekgola@gmail.com>
- *
- * 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_CXX_HPP__
index a9f0d42e4ea14b06145e72317e95631cb479dd7a..779a5c360e50e13084948ea3508f72d9a518ee4a 100644 (file)
@@ -1,12 +1,8 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 /*
  * This file is part of libgpiod.
  *
  * Copyright (C) 2017-2018 Bartosz Golaszewski <bartekgola@gmail.com>
- *
- * 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.
  */
 
 #include <gpiod.hpp>
index bd3afc313d4436422ba2edcefbc41c2015392d27..5096b075b76ba1ee5faf754c0bf8045147281a21 100644 (file)
@@ -1,12 +1,8 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 /*
  * This file is part of libgpiod.
  *
  * Copyright (C) 2017-2018 Bartosz Golaszewski <bartekgola@gmail.com>
- *
- * 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.
  */
 
 #include <gpiod.hpp>
index 9937a4918c0f53bcd3a42f7986fb07f5fcdea806..a3ace223a35b3ade5942e35d5bcd0a4ce8709e1d 100644 (file)
@@ -1,12 +1,8 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 /*
  * This file is part of libgpiod.
  *
  * Copyright (C) 2017-2018 Bartosz Golaszewski <bartekgola@gmail.com>
- *
- * 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.
  */
 
 #include <gpiod.hpp>