From 4803b7d6853eda92c36545497fac6ddb954bf05b Mon Sep 17 00:00:00 2001 From: Cody Michael Jones <46515483+cm-jones@users.noreply.github.com> Date: Wed, 24 Jul 2024 00:30:20 -0500 Subject: [PATCH] Replace license headers with SPDX license identifier --- include/dsc_data.h | 17 +---------------- include/dsc_error.h | 17 +---------------- include/dsc_list.h | 17 +---------------- include/dsc_map.h | 17 +---------------- include/dsc_queue.h | 17 +---------------- include/dsc_set.h | 17 +---------------- include/dsc_stack.h | 17 +---------------- include/dsc_type.h | 17 +---------------- include/dsc_utils.h | 17 +---------------- include/dsc_vector.h | 17 +---------------- include/libdsc.h | 17 +---------------- src/dsc_data.c | 17 +---------------- src/dsc_list.c | 17 +---------------- src/dsc_map.c | 17 +---------------- src/dsc_queue.c | 17 +---------------- src/dsc_set.c | 17 +---------------- src/dsc_stack.c | 17 +---------------- src/dsc_type.c | 17 +---------------- src/dsc_utils.c | 17 +---------------- src/dsc_vector.c | 17 +---------------- tests/test_dsc_list.c | 17 +---------------- tests/test_dsc_map.c | 17 +---------------- tests/test_dsc_queue.c | 17 +---------------- tests/test_dsc_set.c | 17 +---------------- tests/test_dsc_stack.c | 17 +---------------- tests/test_dsc_vector.c | 17 +---------------- 26 files changed, 26 insertions(+), 416 deletions(-) diff --git a/include/dsc_data.h b/include/dsc_data.h index a463e4b..2e75975 100644 --- a/include/dsc_data.h +++ b/include/dsc_data.h @@ -1,19 +1,4 @@ -/* - * This file is part of libdsc. - * - * libdsc 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 3 of the License, or (at your option) any later - * version. - * - * libdsc 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 - * libdsc. If not, see . - */ +// SPDX-License-Identifier: GPL-3.0-or-later /** * @file dsc_data.h diff --git a/include/dsc_error.h b/include/dsc_error.h index bf83276..4cd7f2a 100644 --- a/include/dsc_error.h +++ b/include/dsc_error.h @@ -1,19 +1,4 @@ -/* - * This file is part of libdsc. - * - * libdsc 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 3 of the License, or (at your option) any later - * version. - * - * libdsc 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 - * libdsc. If not, see . - */ +// SPDX-License-Identifier: GPL-3.0-or-later /** * @file dsc_error.h diff --git a/include/dsc_list.h b/include/dsc_list.h index ff5a00b..34fa0e6 100644 --- a/include/dsc_list.h +++ b/include/dsc_list.h @@ -1,19 +1,4 @@ -/* - * This file is part of libdsc. - * - * libdsc 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 3 of the License, or (at your option) any later - * version. - * - * libdsc 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 - * libdsc. If not, see . - */ +// SPDX-License-Identifier: GPL-3.0-or-later #ifndef DSC_LIST_H #define DSC_LIST_H diff --git a/include/dsc_map.h b/include/dsc_map.h index b676881..4dc9937 100644 --- a/include/dsc_map.h +++ b/include/dsc_map.h @@ -1,19 +1,4 @@ -/* - * This file is part of libdsc. - * - * libdsc 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 3 of the License, or (at your option) any later - * version. - * - * libdsc 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 - * libdsc. If not, see . - */ +// SPDX-License-Identifier: GPL-3.0-or-later #ifndef DSC_MAP_H #define DSC_MAP_H diff --git a/include/dsc_queue.h b/include/dsc_queue.h index 8487545..4853407 100644 --- a/include/dsc_queue.h +++ b/include/dsc_queue.h @@ -1,19 +1,4 @@ -/* - * This file is part of libdsc. - * - * libdsc 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 3 of the License, or (at your option) any later - * version. - * - * libdsc 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 - * libdsc. If not, see . - */ +// SPDX-License-Identifier: GPL-3.0-or-later #ifndef DSC_QUEUE_H #define DSC_QUEUE_H diff --git a/include/dsc_set.h b/include/dsc_set.h index 28ceca9..a607f23 100644 --- a/include/dsc_set.h +++ b/include/dsc_set.h @@ -1,19 +1,4 @@ -/* - * This file is part of libdsc. - * - * libdsc 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 3 of the License, or (at your option) any later - * version. - * - * libdsc 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 - * libdsc. If not, see . - */ +// SPDX-License-Identifier: GPL-3.0-or-later #ifndef DSC_SET_H #define DSC_SET_H diff --git a/include/dsc_stack.h b/include/dsc_stack.h index b2e9e53..557efeb 100644 --- a/include/dsc_stack.h +++ b/include/dsc_stack.h @@ -1,19 +1,4 @@ -/* - * This file is part of libdsc. - * - * libdsc 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 3 of the License, or (at your option) any later - * version. - * - * libdsc 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 - * libdsc. If not, see . - */ +// SPDX-License-Identifier: GPL-3.0-or-later #ifndef DSC_STACK_H #define DSC_STACK_H diff --git a/include/dsc_type.h b/include/dsc_type.h index 30faa95..087736d 100644 --- a/include/dsc_type.h +++ b/include/dsc_type.h @@ -1,19 +1,4 @@ -/* - * This file is part of libdsc. - * - * libdsc 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 3 of the License, or (at your option) any later - * version. - * - * libdsc 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 - * libdsc. If not, see . - */ +// SPDX-License-Identifier: GPL-3.0-or-later #ifndef DSC_TYPE_H #define DSC_TYPE_H diff --git a/include/dsc_utils.h b/include/dsc_utils.h index 757b63d..341267a 100644 --- a/include/dsc_utils.h +++ b/include/dsc_utils.h @@ -1,19 +1,4 @@ -/* - * This file is part of libdsc. - * - * libdsc 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 3 of the License, or (at your option) any later - * version. - * - * libdsc 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 - * libdsc. If not, see . - */ +// SPDX-License-Identifier: GPL-3.0-or-later #ifndef DSC_UTILS #define DSC_UTILS diff --git a/include/dsc_vector.h b/include/dsc_vector.h index 471fab3..fd80bc4 100644 --- a/include/dsc_vector.h +++ b/include/dsc_vector.h @@ -1,19 +1,4 @@ -/* - * This file is part of libdsc. - * - * libdsc 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 3 of the License, or (at your option) any later - * version. - * - * libdsc 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 - * libdsc. If not, see . - */ +// SPDX-License-Identifier: GPL-3.0-or-later /** * @file dsc_vector.h diff --git a/include/libdsc.h b/include/libdsc.h index eb347f8..e176ffb 100644 --- a/include/libdsc.h +++ b/include/libdsc.h @@ -1,19 +1,4 @@ -/* - * This file is part of libdsc. - * - * libdsc 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 3 of the License, or (at your option) any later - * version. - * - * libdsc 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 - * libdsc. If not, see . - */ +// SPDX-License-Identifier: GPL-3.0-or-later #ifndef LIBDSC_H #define LIBDSC_H diff --git a/src/dsc_data.c b/src/dsc_data.c index 1089569..f1f4fad 100644 --- a/src/dsc_data.c +++ b/src/dsc_data.c @@ -1,19 +1,4 @@ -/* - * This file is part of libdsc. - * - * libdsc 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 3 of the License, or (at your option) any later - * version. - * - * libdsc 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 - * libdsc. If not, see . - */ +// SPDX-License-Identifier: GPL-3.0-or-later #include #include diff --git a/src/dsc_list.c b/src/dsc_list.c index 73205aa..8a7024c 100644 --- a/src/dsc_list.c +++ b/src/dsc_list.c @@ -1,19 +1,4 @@ -/* - * This file is part of libdsc. - * - * libdsc 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 3 of the License, or (at your option) any later - * version. - * - * libdsc 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 - * libdsc. If not, see . - */ +// SPDX-License-Identifier: GPL-3.0-or-later #include "../include/dsc_list.h" diff --git a/src/dsc_map.c b/src/dsc_map.c index eb32be3..2ec5c44 100644 --- a/src/dsc_map.c +++ b/src/dsc_map.c @@ -1,19 +1,4 @@ -/* -* This file is part of libdsc. -* -* libdsc 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 3 of the License, or (at your option) any later -* version. -* -* libdsc 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 -* libdsc. If not, see . -*/ +// SPDX-License-Identifier: GPL-3.0-or-later #include diff --git a/src/dsc_queue.c b/src/dsc_queue.c index ba545aa..4d58d5c 100644 --- a/src/dsc_queue.c +++ b/src/dsc_queue.c @@ -1,19 +1,4 @@ -/* - * This file is part of libdsc. - * - * libdsc 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 3 of the License, or (at your option) any later - * version. - * - * libdsc 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 - * libdsc. If not, see . - */ +// SPDX-License-Identifier: GPL-3.0-or-later #include #include diff --git a/src/dsc_set.c b/src/dsc_set.c index 1b6679c..da309ce 100644 --- a/src/dsc_set.c +++ b/src/dsc_set.c @@ -1,19 +1,4 @@ -/* - * This file is part of libdsc. - * - * libdsc 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 3 of the License, or (at your option) any later - * version. - * - * libdsc 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 - * libdsc. If not, see . - */ +// SPDX-License-Identifier: GPL-3.0-or-later #include diff --git a/src/dsc_stack.c b/src/dsc_stack.c index 1454083..62f7462 100644 --- a/src/dsc_stack.c +++ b/src/dsc_stack.c @@ -1,19 +1,4 @@ -/* - * This file is part of libdsc. - * - * libdsc 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 3 of the License, or (at your option) any later - * version. - * - * libdsc 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 - * libdsc. If not, see . - */ +// SPDX-License-Identifier: GPL-3.0-or-later #include "../include/dsc_stack.h" diff --git a/src/dsc_type.c b/src/dsc_type.c index 2706b25..fcf4e0f 100644 --- a/src/dsc_type.c +++ b/src/dsc_type.c @@ -1,19 +1,4 @@ -/* - * This file is part of libdsc. - * - * libdsc 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 3 of the License, or (at your option) any later - * version. - * - * libdsc 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 - * libdsc. If not, see . - */ +// SPDX-License-Identifier: GPL-3.0-or-later #include "../include/dsc_type.h" diff --git a/src/dsc_utils.c b/src/dsc_utils.c index e31c44f..e689858 100644 --- a/src/dsc_utils.c +++ b/src/dsc_utils.c @@ -1,19 +1,4 @@ -/* - * This file is part of libdsc. - * - * libdsc 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 3 of the License, or (at your option) any later - * version. - * - * libdsc 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 - * libdsc. If not, see . - */ +// SPDX-License-Identifier: GPL-3.0-or-later #include #include diff --git a/src/dsc_vector.c b/src/dsc_vector.c index dc2a17d..9647cef 100644 --- a/src/dsc_vector.c +++ b/src/dsc_vector.c @@ -1,19 +1,4 @@ -/* - * This file is part of libdsc. - * - * libdsc 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 3 of the License, or (at your option) any later - * version. - * - * libdsc 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 - * libdsc. If not, see . - */ +// SPDX-License-Identifier: GPL-3.0-or-later #include #include diff --git a/tests/test_dsc_list.c b/tests/test_dsc_list.c index aad0983..23fabc5 100644 --- a/tests/test_dsc_list.c +++ b/tests/test_dsc_list.c @@ -1,16 +1 @@ -/* - * This file is part of libdsc. - * - * libdsc 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 3 of the License, or (at your option) any later - * version. - * - * libdsc 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 - * libdsc. If not, see . - */ +// SPDX-License-Identifier: GPL-3.0-or-later diff --git a/tests/test_dsc_map.c b/tests/test_dsc_map.c index aad0983..23fabc5 100644 --- a/tests/test_dsc_map.c +++ b/tests/test_dsc_map.c @@ -1,16 +1 @@ -/* - * This file is part of libdsc. - * - * libdsc 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 3 of the License, or (at your option) any later - * version. - * - * libdsc 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 - * libdsc. If not, see . - */ +// SPDX-License-Identifier: GPL-3.0-or-later diff --git a/tests/test_dsc_queue.c b/tests/test_dsc_queue.c index aad0983..23fabc5 100644 --- a/tests/test_dsc_queue.c +++ b/tests/test_dsc_queue.c @@ -1,16 +1 @@ -/* - * This file is part of libdsc. - * - * libdsc 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 3 of the License, or (at your option) any later - * version. - * - * libdsc 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 - * libdsc. If not, see . - */ +// SPDX-License-Identifier: GPL-3.0-or-later diff --git a/tests/test_dsc_set.c b/tests/test_dsc_set.c index aad0983..23fabc5 100644 --- a/tests/test_dsc_set.c +++ b/tests/test_dsc_set.c @@ -1,16 +1 @@ -/* - * This file is part of libdsc. - * - * libdsc 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 3 of the License, or (at your option) any later - * version. - * - * libdsc 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 - * libdsc. If not, see . - */ +// SPDX-License-Identifier: GPL-3.0-or-later diff --git a/tests/test_dsc_stack.c b/tests/test_dsc_stack.c index 46ad500..7a85ca1 100644 --- a/tests/test_dsc_stack.c +++ b/tests/test_dsc_stack.c @@ -1,19 +1,4 @@ -/* - * This file is part of libdsc. - * - * libdsc 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 3 of the License, or (at your option) any later - * version. - * - * libdsc 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 - * libdsc. If not, see . - */ +// SPDX-License-Identifier: GPL-3.0-or-later #include #include diff --git a/tests/test_dsc_vector.c b/tests/test_dsc_vector.c index 443a7d1..865cc75 100644 --- a/tests/test_dsc_vector.c +++ b/tests/test_dsc_vector.c @@ -1,19 +1,4 @@ -/* - * This file is part of libdsc. - * - * libdsc 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 3 of the License, or (at your option) any later - * version. - * - * libdsc 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 - * libdsc. If not, see . - */ +// SPDX-License-Identifier: GPL-3.0-or-later #include #include