summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2020-01-21 10:08:50 +0000
committerRichard Hughes <richard@hughsie.com>2020-01-21 10:33:11 +0000
commitdfaec95d34f6f066d191cc286192c8c09b4686a8 (patch)
treeeb69dadecf8ddbbfc8e81332c591310dff7028b6
parenta6fefb360c82d926723c46e16a5a799fc9e36882 (diff)
downloadgusb-dfaec95d34f6f066d191cc286192c8c09b4686a8.tar.gz
trivial: Use SPDX-License-Identifier tags
-rw-r--r--gusb/gusb-autocleanups.h15
-rw-r--r--gusb/gusb-context-private.h16
-rw-r--r--gusb/gusb-context.c15
-rw-r--r--gusb/gusb-context.h15
-rw-r--r--gusb/gusb-device-list.c15
-rw-r--r--gusb/gusb-device-list.h15
-rw-r--r--gusb/gusb-device-private.h15
-rw-r--r--gusb/gusb-device.c15
-rw-r--r--gusb/gusb-device.h15
-rw-r--r--gusb/gusb-endpoint-private.h15
-rw-r--r--gusb/gusb-endpoint.c15
-rw-r--r--gusb/gusb-endpoint.h15
-rw-r--r--gusb/gusb-interface-private.h15
-rw-r--r--gusb/gusb-interface.c15
-rw-r--r--gusb/gusb-interface.h15
-rw-r--r--gusb/gusb-private.h16
-rw-r--r--gusb/gusb-self-test.c16
-rw-r--r--gusb/gusb-source.c16
-rw-r--r--gusb/gusb-source.h16
-rw-r--r--gusb/gusb-util.c15
-rw-r--r--gusb/gusb-util.h15
-rw-r--r--gusb/gusb-version.c16
-rw-r--r--gusb/gusb-version.h.in16
-rw-r--r--gusb/gusb.h16
-rw-r--r--tools/gusb-main.c18
25 files changed, 26 insertions, 360 deletions
diff --git a/gusb/gusb-autocleanups.h b/gusb/gusb-autocleanups.h
index 0adf613..63f3b11 100644
--- a/gusb/gusb-autocleanups.h
+++ b/gusb/gusb-autocleanups.h
@@ -2,20 +2,7 @@
*
* Copyright (C) 2015 Kalev Lember <klember@redhat.com>
*
- * Licensed under the GNU Lesser General Public License Version 2.1
- *
- * 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, see <http://www.gnu.org/licenses/>.
+ * SPDX-License-Identifier: LGPL-2.1+
*/
#ifndef __GUSB_AUTOCLEANUPS_H__
diff --git a/gusb/gusb-context-private.h b/gusb/gusb-context-private.h
index 80c2acb..f5e60de 100644
--- a/gusb/gusb-context-private.h
+++ b/gusb/gusb-context-private.h
@@ -2,21 +2,7 @@
*
* Copyright (C) 2011 Richard Hughes <richard@hughsie.com>
*
- * Licensed under the GNU Lesser General Public License Version 2.1
- *
- * 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 Street, Fifth Floor, Boston, MA 02110-1301 USA
+ * SPDX-License-Identifier: LGPL-2.1+
*/
#ifndef __GUSB_CONTEXT_PRIVATE_H__
diff --git a/gusb/gusb-context.c b/gusb/gusb-context.c
index 93c33c5..e262fd8 100644
--- a/gusb/gusb-context.c
+++ b/gusb/gusb-context.c
@@ -3,20 +3,7 @@
* Copyright (C) 2011-2016 Richard Hughes <richard@hughsie.com>
* Copyright (C) 2011 Hans de Goede <hdegoede@redhat.com>
*
- * Licensed under the GNU Lesser General Public License Version 2.1
- *
- * 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, see <http://www.gnu.org/licenses/>.
+ * SPDX-License-Identifier: LGPL-2.1+
*/
/**
diff --git a/gusb/gusb-context.h b/gusb/gusb-context.h
index 3232d3c..e447c29 100644
--- a/gusb/gusb-context.h
+++ b/gusb/gusb-context.h
@@ -3,20 +3,7 @@
* Copyright (C) 2011-2016 Richard Hughes <richard@hughsie.com>
* Copyright (C) 2011 Hans de Goede <hdegoede@redhat.com>
*
- * Licensed under the GNU Lesser General Public License Version 2.1
- *
- * 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, see <http://www.gnu.org/licenses/>.
+ * SPDX-License-Identifier: LGPL-2.1+
*/
#ifndef __GUSB_CONTEXT_H__
diff --git a/gusb/gusb-device-list.c b/gusb/gusb-device-list.c
index f62793e..fa222b6 100644
--- a/gusb/gusb-device-list.c
+++ b/gusb/gusb-device-list.c
@@ -3,20 +3,7 @@
* Copyright (C) 2011 Hans de Goede <hdegoede@redhat.com>
* Copyright (C) 2011-2014 Richard Hughes <richard@hughsie.com>
*
- * Licensed under the GNU Lesser General Public License Version 2.1
- *
- * 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, see <http://www.gnu.org/licenses/>.
+ * SPDX-License-Identifier: LGPL-2.1+
*/
/**
diff --git a/gusb/gusb-device-list.h b/gusb/gusb-device-list.h
index cd11ecd..1c9688f 100644
--- a/gusb/gusb-device-list.h
+++ b/gusb/gusb-device-list.h
@@ -3,20 +3,7 @@
* Copyright (C) 2011 Hans de Goede <hdegoede@redhat.com>
* Copyright (C) 2011-2014 Richard Hughes <richard@hughsie.com>
*
- * Licensed under the GNU Lesser General Public License Version 2.1
- *
- * 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, see <http://www.gnu.org/licenses/>.
+ * SPDX-License-Identifier: LGPL-2.1+
*/
#ifndef __GUSB_DEVICE_LIST_H__
diff --git a/gusb/gusb-device-private.h b/gusb/gusb-device-private.h
index bceb8be..b07ba94 100644
--- a/gusb/gusb-device-private.h
+++ b/gusb/gusb-device-private.h
@@ -2,20 +2,7 @@
*
* Copyright (C) 2011 Hans de Goede <hdegoede@redhat.com>
*
- * Licensed under the GNU Lesser General Public License Version 2.1
- *
- * 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, see <http://www.gnu.org/licenses/>.
+ * SPDX-License-Identifier: LGPL-2.1+
*/
#ifndef __GUSB_DEVICE_PRIVATE_H__
diff --git a/gusb/gusb-device.c b/gusb/gusb-device.c
index 0490164..2e62e97 100644
--- a/gusb/gusb-device.c
+++ b/gusb/gusb-device.c
@@ -4,20 +4,7 @@
* Copyright (C) 2011 Hans de Goede <hdegoede@redhat.com>
* Copyright (C) 2011 Debarshi Ray <debarshir@src.gnome.org>
*
- * Licensed under the GNU Lesser General Public License Version 2.1
- *
- * 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, see <http://www.gnu.org/licenses/>.
+ * SPDX-License-Identifier: LGPL-2.1+
*/
/**
diff --git a/gusb/gusb-device.h b/gusb/gusb-device.h
index 7635829..97201c3 100644
--- a/gusb/gusb-device.h
+++ b/gusb/gusb-device.h
@@ -3,20 +3,7 @@
* Copyright (C) 2010-2015 Richard Hughes <richard@hughsie.com>
* Copyright (C) 2011 Hans de Goede <hdegoede@redhat.com>
*
- * Licensed under the GNU Lesser General Public License Version 2.1
- *
- * 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, see <http://www.gnu.org/licenses/>.
+ * SPDX-License-Identifier: LGPL-2.1+
*/
#ifndef __GUSB_DEVICE_H__
diff --git a/gusb/gusb-endpoint-private.h b/gusb/gusb-endpoint-private.h
index 7999521..a8b12b2 100644
--- a/gusb/gusb-endpoint-private.h
+++ b/gusb/gusb-endpoint-private.h
@@ -2,20 +2,7 @@
*
* Copyright (C) 2020 Emmanuel Pacaud <emmanuel@gnome.org>
*
- * Licensed under the GNU Lesser General Public License Version 2.1
- *
- * 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, see <http://www.gnu.org/licenses/>.
+ * SPDX-License-Identifier: LGPL-2.1+
*/
#ifndef __GUSB_ENDPOINT_PRIVATE_H__
diff --git a/gusb/gusb-endpoint.c b/gusb/gusb-endpoint.c
index b70183f..9d47f60 100644
--- a/gusb/gusb-endpoint.c
+++ b/gusb/gusb-endpoint.c
@@ -2,20 +2,7 @@
*
* Copyright (C) 2020 Emmanuel Pacaud <emmanuel@gnome.org>
*
- * Licensed under the GNU Lesser General Public License Version 2.1
- *
- * 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, see <http://www.gnu.org/licenses/>.
+ * SPDX-License-Identifier: LGPL-2.1+
*/
/**
diff --git a/gusb/gusb-endpoint.h b/gusb/gusb-endpoint.h
index 4cc5c52..21cbcb1 100644
--- a/gusb/gusb-endpoint.h
+++ b/gusb/gusb-endpoint.h
@@ -2,20 +2,7 @@
*
* Copyright (C) 2020 Emmanuel Pacaud <emmanuel@gnome.org>
*
- * Licensed under the GNU Lesser General Public License Version 2.1
- *
- * 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, see <http://www.gnu.org/licenses/>.
+ * SPDX-License-Identifier: LGPL-2.1+
*/
#ifndef __GUSB_ENDPOINT_H__
diff --git a/gusb/gusb-interface-private.h b/gusb/gusb-interface-private.h
index 774c97d..b92628b 100644
--- a/gusb/gusb-interface-private.h
+++ b/gusb/gusb-interface-private.h
@@ -2,20 +2,7 @@
*
* Copyright (C) 2015 Richard Hughes <richard@hughsie.com>
*
- * Licensed under the GNU Lesser General Public License Version 2.1
- *
- * 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, see <http://www.gnu.org/licenses/>.
+ * SPDX-License-Identifier: LGPL-2.1+
*/
#ifndef __GUSB_INTERFACE_PRIVATE_H__
diff --git a/gusb/gusb-interface.c b/gusb/gusb-interface.c
index 49f36c6..ec1d576 100644
--- a/gusb/gusb-interface.c
+++ b/gusb/gusb-interface.c
@@ -3,20 +3,7 @@
* Copyright (C) 2015 Richard Hughes <richard@hughsie.com>
* Copyright (C) 2020 Emmanuel Pacaud <emmanuel@gnome.org>
*
- * Licensed under the GNU Lesser General Public License Version 2.1
- *
- * 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, see <http://www.gnu.org/licenses/>.
+ * SPDX-License-Identifier: LGPL-2.1+
*/
/**
diff --git a/gusb/gusb-interface.h b/gusb/gusb-interface.h
index 06f3f64..02f8501 100644
--- a/gusb/gusb-interface.h
+++ b/gusb/gusb-interface.h
@@ -3,20 +3,7 @@
* Copyright (C) 2015 Richard Hughes <richard@hughsie.com>
* Copyright (C) 2020 Emmanuel Pacaud <emmanuel@gnome.org>
*
- * Licensed under the GNU Lesser General Public License Version 2.1
- *
- * 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, see <http://www.gnu.org/licenses/>.
+ * SPDX-License-Identifier: LGPL-2.1+
*/
#ifndef __GUSB_INTERFACE_H__
diff --git a/gusb/gusb-private.h b/gusb/gusb-private.h
index dc3607e..4c32459 100644
--- a/gusb/gusb-private.h
+++ b/gusb/gusb-private.h
@@ -2,21 +2,7 @@
*
* Copyright (C) 2011 Richard Hughes <richard@hughsie.com>
*
- * Licensed under the GNU Lesser General Public License Version 2.1
- *
- * 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 Street, Fifth Floor, Boston, MA 02110-1301 USA
+ * SPDX-License-Identifier: LGPL-2.1+
*/
#ifndef __GUSB_PRIVATE_H__
diff --git a/gusb/gusb-self-test.c b/gusb/gusb-self-test.c
index 00d55dc..4b0f6e9 100644
--- a/gusb/gusb-self-test.c
+++ b/gusb/gusb-self-test.c
@@ -2,21 +2,7 @@
*
* Copyright (C) 2011 Richard Hughes <richard@hughsie.com>
*
- * Licensed under the GNU General Public License Version 2
- *
- * 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.
+ * SPDX-License-Identifier: LGPL-2.1+
*/
#include "config.h"
diff --git a/gusb/gusb-source.c b/gusb/gusb-source.c
index f901859..bc3571f 100644
--- a/gusb/gusb-source.c
+++ b/gusb/gusb-source.c
@@ -3,21 +3,7 @@
* Copyright (C) 2010-2014 Richard Hughes <richard@hughsie.com>
* Copyright (C) 2011 Hans de Goede <hdegoede@redhat.com>
*
- * Licensed under the GNU Lesser General Public License Version 2.1
- *
- * 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 Street, Fifth Floor, Boston, MA 02110-1301 USA
+ * SPDX-License-Identifier: LGPL-2.1+
*/
/**
diff --git a/gusb/gusb-source.h b/gusb/gusb-source.h
index 762e22e..5085f0d 100644
--- a/gusb/gusb-source.h
+++ b/gusb/gusb-source.h
@@ -3,21 +3,7 @@
* Copyright (C) 2010-2014 Richard Hughes <richard@hughsie.com>
* Copyright (C) 2011 Hans de Goede <hdegoede@redhat.com>
*
- * Licensed under the GNU Lesser General Public License Version 2.1
- *
- * 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 Street, Fifth Floor, Boston, MA 02110-1301 USA
+ * SPDX-License-Identifier: LGPL-2.1+
*/
#ifndef __GUSB_SOURCE_H__
diff --git a/gusb/gusb-util.c b/gusb/gusb-util.c
index 5948350..c387752 100644
--- a/gusb/gusb-util.c
+++ b/gusb/gusb-util.c
@@ -2,20 +2,7 @@
*
* Copyright (C) 2011 Hans de Goede <hdegoede@redhat.com>
*
- * Licensed under the GNU Lesser General Public License Version 2.1
- *
- * 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, see <http://www.gnu.org/licenses/>.
+ * SPDX-License-Identifier: LGPL-2.1+
*/
#include "config.h"
diff --git a/gusb/gusb-util.h b/gusb/gusb-util.h
index e347d0b..2958e54 100644
--- a/gusb/gusb-util.h
+++ b/gusb/gusb-util.h
@@ -2,20 +2,7 @@
*
* Copyright (C) 2011 Hans de Goede <hdegoede@redhat.com>
*
- * Licensed under the GNU Lesser General Public License Version 2.1
- *
- * 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, see <http://www.gnu.org/licenses/>.
+ * SPDX-License-Identifier: LGPL-2.1+
*/
#ifndef __GUSB_UTIL_H__
diff --git a/gusb/gusb-version.c b/gusb/gusb-version.c
index f12d82b..8ae4315 100644
--- a/gusb/gusb-version.c
+++ b/gusb/gusb-version.c
@@ -2,21 +2,7 @@
*
* Copyright (C) 2018 Richard Hughes <richard@hughsie.com>
*
- * Licensed under the GNU Lesser General Public License Version 2.1
- *
- * 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 Street, Fifth Floor, Boston, MA 02110-1301 USA
+ * SPDX-License-Identifier: LGPL-2.1+
*/
#include "config.h"
diff --git a/gusb/gusb-version.h.in b/gusb/gusb-version.h.in
index 8502d8b..b8a5639 100644
--- a/gusb/gusb-version.h.in
+++ b/gusb/gusb-version.h.in
@@ -2,21 +2,7 @@
*
* Copyright (C) 2010-2018 Richard Hughes <richard@hughsie.com>
*
- * Licensed under the GNU Lesser General Public License Version 2.1
- *
- * 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 Street, Fifth Floor, Boston, MA 02110-1301 USA
+ * SPDX-License-Identifier: LGPL-2.1+
*/
/**
diff --git a/gusb/gusb.h b/gusb/gusb.h
index 8102ef4..cf5afad 100644
--- a/gusb/gusb.h
+++ b/gusb/gusb.h
@@ -2,21 +2,7 @@
*
* Copyright (C) 2010-2011 Richard Hughes <richard@hughsie.com>
*
- * Licensed under the GNU Lesser General Public License Version 2.1
- *
- * 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 Street, Fifth Floor, Boston, MA 02110-1301 USA
+ * SPDX-License-Identifier: LGPL-2.1+
*/
#ifndef __GUSB_H__
diff --git a/tools/gusb-main.c b/tools/gusb-main.c
index 30ceb66..589d215 100644
--- a/tools/gusb-main.c
+++ b/tools/gusb-main.c
@@ -2,21 +2,7 @@
*
* Copyright (C) 2011-2016 Richard Hughes <richard@hughsie.com>
*
- * Licensed under the GNU General Public License Version 2
- *
- * 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.
+ * SPDX-License-Identifier: LGPL-2.1+
*/
#include "config.h"
@@ -31,7 +17,7 @@
**/
static void
gusb_log_ignore_cb (const gchar *log_domain, GLogLevelFlags log_level,
- const gchar *message, gpointer user_data)
+ const gchar *message, gpointer user_data)
{
}