diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2023-09-22 20:17:59 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2023-09-22 20:17:59 +0200 |
commit | 6950fcc53592e04b3f9ec3482eec3b0eb99ea765 (patch) | |
tree | d5306727b03f66a4de0221f74fd4b7ae139f9c54 | |
parent | c0653c10c7ed4877cd30bd486f85e9acf385a606 (diff) |
examples: Use SPDX-License-Identifier instead of license boilerplate
-rw-r--r-- | examples/acd-client.c | 21 | ||||
-rw-r--r-- | examples/dbus-client.c | 21 | ||||
-rw-r--r-- | examples/dbus-service.c | 21 | ||||
-rw-r--r-- | examples/dhcp-client.c | 21 | ||||
-rw-r--r-- | examples/dhcp-server.c | 21 | ||||
-rw-r--r-- | examples/dhcp6-client.c | 21 | ||||
-rw-r--r-- | examples/glib-eventloop.c | 19 | ||||
-rw-r--r-- | examples/https-client-test.c | 19 | ||||
-rw-r--r-- | examples/https-server-test.c | 19 | ||||
-rw-r--r-- | examples/netconfig-test.c | 21 |
10 files changed, 30 insertions, 174 deletions
diff --git a/examples/acd-client.c b/examples/acd-client.c index e737288b..993b8a84 100644 --- a/examples/acd-client.c +++ b/examples/acd-client.c @@ -1,23 +1,8 @@ /* + * Embedded Linux library + * Copyright (C) 2020 Intel Corporation * - * Embedded Linux library - * - * Copyright (C) 2020 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 - * + * SPDX-License-Identifier: LGPL-2.1-or-later */ #ifdef HAVE_CONFIG_H diff --git a/examples/dbus-client.c b/examples/dbus-client.c index 11b9b50b..1c526b14 100644 --- a/examples/dbus-client.c +++ b/examples/dbus-client.c @@ -1,23 +1,8 @@ /* + * Embedded Linux library + * Copyright (C) 2011-2016 Intel Corporation * - * Embedded Linux library - * - * Copyright (C) 2011-2016 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 - * + * SPDX-License-Identifier: LGPL-2.1-or-later */ #ifdef HAVE_CONFIG_H diff --git a/examples/dbus-service.c b/examples/dbus-service.c index b3d9509a..9fae637f 100644 --- a/examples/dbus-service.c +++ b/examples/dbus-service.c @@ -1,23 +1,8 @@ /* + * Embedded Linux library + * Copyright (C) 2011-2014 Intel Corporation * - * Embedded Linux library - * - * Copyright (C) 2011-2014 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 - * + * SPDX-License-Identifier: LGPL-2.1-or-later */ #ifdef HAVE_CONFIG_H diff --git a/examples/dhcp-client.c b/examples/dhcp-client.c index 9dcea57a..233c1f33 100644 --- a/examples/dhcp-client.c +++ b/examples/dhcp-client.c @@ -1,23 +1,8 @@ /* + * Embedded Linux library + * Copyright (C) 2018 Intel Corporation * - * Embedded Linux library - * - * Copyright (C) 2018 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 - * + * SPDX-License-Identifier: LGPL-2.1-or-later */ #ifdef HAVE_CONFIG_H diff --git a/examples/dhcp-server.c b/examples/dhcp-server.c index 33c09830..b2d34188 100644 --- a/examples/dhcp-server.c +++ b/examples/dhcp-server.c @@ -1,23 +1,8 @@ /* + * Embedded Linux library + * Copyright (C) 2020 Intel Corporation * - * Embedded Linux library - * - * Copyright (C) 2020 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 - * + * SPDX-License-Identifier: LGPL-2.1-or-later */ #ifdef HAVE_CONFIG_H diff --git a/examples/dhcp6-client.c b/examples/dhcp6-client.c index 6060a929..d566d696 100644 --- a/examples/dhcp6-client.c +++ b/examples/dhcp6-client.c @@ -1,23 +1,8 @@ /* + * Embedded Linux library + * Copyright (C) 2020 Intel Corporation * - * Embedded Linux library - * - * Copyright (C) 2020 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 - * + * SPDX-License-Identifier: LGPL-2.1-or-later */ #ifdef HAVE_CONFIG_H diff --git a/examples/glib-eventloop.c b/examples/glib-eventloop.c index a77a70ba..94ed1833 100644 --- a/examples/glib-eventloop.c +++ b/examples/glib-eventloop.c @@ -1,21 +1,8 @@ /* - * Embedded Linux library + * Embedded Linux library + * Copyright (C) 2017 Intel Corporation * - * Copyright (C) 2017 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 + * SPDX-License-Identifier: LGPL-2.1-or-later */ #ifdef HAVE_CONFIG_H diff --git a/examples/https-client-test.c b/examples/https-client-test.c index 6b12f77e..723ececa 100644 --- a/examples/https-client-test.c +++ b/examples/https-client-test.c @@ -1,21 +1,8 @@ /* - * Embedded Linux library + * Embedded Linux library + * Copyright (C) 2011-2014 Intel Corporation * - * Copyright (C) 2011-2014 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 + * SPDX-License-Identifier: LGPL-2.1-or-later */ #ifdef HAVE_CONFIG_H diff --git a/examples/https-server-test.c b/examples/https-server-test.c index 5e861d5e..5bb7ae87 100644 --- a/examples/https-server-test.c +++ b/examples/https-server-test.c @@ -1,21 +1,8 @@ /* - * Embedded Linux library + * Embedded Linux library + * Copyright (C) 2011-2014 Intel Corporation * - * Copyright (C) 2011-2014 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 + * SPDX-License-Identifier: LGPL-2.1-or-later */ #ifdef HAVE_CONFIG_H diff --git a/examples/netconfig-test.c b/examples/netconfig-test.c index 45455dcf..c452a546 100644 --- a/examples/netconfig-test.c +++ b/examples/netconfig-test.c @@ -1,23 +1,8 @@ /* + * Embedded Linux library + * Copyright (C) 2022 Intel Corporation * - * Embedded Linux library - * - * Copyright (C) 2022 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 - * + * SPDX-License-Identifier: LGPL-2.1-or-later */ #ifdef HAVE_CONFIG_H |