summaryrefslogtreecommitdiff
path: root/peripheral
diff options
context:
space:
mode:
authorTedd Ho-Jeong An <tedd.an@intel.com>2020-09-21 12:00:32 -0700
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2020-09-21 16:19:35 -0700
commit1524e9854bc3b17f2a47953c1e497635b5336901 (patch)
treed610a6e14ec9d0222211f67ee6db7e32ed1f38c3 /peripheral
parentee6d9e71c6c5ab0a441c20f383442e3766ddbb71 (diff)
downloadbluez-1524e9854bc3b17f2a47953c1e497635b5336901.tar.gz
peripheral: Add SPDX License Identifier
This patch adds SPDX License Identifier and removes the license text. ------------------------------------- License COUNT ------------------------------------- LGPL-2.1-or-later : 11 License: LGPL-2.1-or-later peripheral/log.h peripheral/main.c peripheral/efivars.c peripheral/attach.h peripheral/gatt.c peripheral/attach.c peripheral/log.c peripheral/gap.h peripheral/efivars.h peripheral/gap.c peripheral/gatt.h
Diffstat (limited to 'peripheral')
-rw-r--r--peripheral/attach.c15
-rw-r--r--peripheral/attach.h15
-rw-r--r--peripheral/efivars.c15
-rw-r--r--peripheral/efivars.h15
-rw-r--r--peripheral/gap.c15
-rw-r--r--peripheral/gap.h15
-rw-r--r--peripheral/gatt.c15
-rw-r--r--peripheral/gatt.h15
-rw-r--r--peripheral/log.c15
-rw-r--r--peripheral/log.h15
-rw-r--r--peripheral/main.c15
11 files changed, 11 insertions, 154 deletions
diff --git a/peripheral/attach.c b/peripheral/attach.c
index 1de02ac04..f7dc7ecea 100644
--- a/peripheral/attach.c
+++ b/peripheral/attach.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,20 +6,6 @@
* Copyright (C) 2015 Intel Corporation. All rights reserved.
*
*
- * This library 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.
- *
- * This library 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
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/
#ifdef HAVE_CONFIG_H
diff --git a/peripheral/attach.h b/peripheral/attach.h
index f76e2fba2..c8d787d76 100644
--- a/peripheral/attach.h
+++ b/peripheral/attach.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,20 +6,6 @@
* Copyright (C) 2015 Intel Corporation. All rights reserved.
*
*
- * This library 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.
- *
- * This library 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
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/
void attach_start(void);
diff --git a/peripheral/efivars.c b/peripheral/efivars.c
index 3cc213c0c..74fceed3e 100644
--- a/peripheral/efivars.c
+++ b/peripheral/efivars.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,20 +6,6 @@
* Copyright (C) 2015 Intel Corporation. All rights reserved.
*
*
- * This library 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.
- *
- * This library 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
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/
#ifdef HAVE_CONFIG_H
diff --git a/peripheral/efivars.h b/peripheral/efivars.h
index 430d14330..5dac95395 100644
--- a/peripheral/efivars.h
+++ b/peripheral/efivars.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,20 +6,6 @@
* Copyright (C) 2015 Intel Corporation. All rights reserved.
*
*
- * This library 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.
- *
- * This library 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
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/
#define EFIVARS_NON_VOLATILE 0x00000001
diff --git a/peripheral/gap.c b/peripheral/gap.c
index 52a7bed9b..b12e08b3d 100644
--- a/peripheral/gap.c
+++ b/peripheral/gap.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,20 +6,6 @@
* Copyright (C) 2015 Intel Corporation. All rights reserved.
*
*
- * This library 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.
- *
- * This library 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
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/
#ifdef HAVE_CONFIG_H
diff --git a/peripheral/gap.h b/peripheral/gap.h
index 6d6737810..da307a2ad 100644
--- a/peripheral/gap.h
+++ b/peripheral/gap.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,20 +6,6 @@
* Copyright (C) 2015 Intel Corporation. All rights reserved.
*
*
- * This library 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.
- *
- * This library 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
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/
#include <stdint.h>
diff --git a/peripheral/gatt.c b/peripheral/gatt.c
index bbbf3f59f..ff1354cb4 100644
--- a/peripheral/gatt.c
+++ b/peripheral/gatt.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,20 +6,6 @@
* Copyright (C) 2015 Intel Corporation. All rights reserved.
*
*
- * This library 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.
- *
- * This library 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
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/
#ifdef HAVE_CONFIG_H
diff --git a/peripheral/gatt.h b/peripheral/gatt.h
index 5b68f3573..7e2418a70 100644
--- a/peripheral/gatt.h
+++ b/peripheral/gatt.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,20 +6,6 @@
* Copyright (C) 2015 Intel Corporation. All rights reserved.
*
*
- * This library 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.
- *
- * This library 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
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/
#include <stdint.h>
diff --git a/peripheral/log.c b/peripheral/log.c
index d5834eb72..ac674b2df 100644
--- a/peripheral/log.c
+++ b/peripheral/log.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,20 +6,6 @@
* Copyright (C) 2015 Intel Corporation. All rights reserved.
*
*
- * This library 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.
- *
- * This library 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
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/
#ifdef HAVE_CONFIG_H
diff --git a/peripheral/log.h b/peripheral/log.h
index 36619b36e..29d1d6ac0 100644
--- a/peripheral/log.h
+++ b/peripheral/log.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,20 +6,6 @@
* Copyright (C) 2015 Intel Corporation. All rights reserved.
*
*
- * This library 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.
- *
- * This library 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
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/
void log_open(void);
diff --git a/peripheral/main.c b/peripheral/main.c
index 75427ab3a..6ce729178 100644
--- a/peripheral/main.c
+++ b/peripheral/main.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,20 +6,6 @@
* Copyright (C) 2015 Intel Corporation. All rights reserved.
*
*
- * This library 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.
- *
- * This library 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
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/
#ifdef HAVE_CONFIG_H