From 0bbc18869720ad042b668742ca48e5cb8a37491a Mon Sep 17 00:00:00 2001 From: "Rafael G. Martins" Date: Tue, 21 May 2024 01:21:34 +0200 Subject: *: modernize file headers (spdx and include guards) --- tests/common/check_config_parser.c | 9 ++------- tests/common/check_error.c | 9 ++------- tests/common/check_sort.c | 9 ++------- tests/common/check_stdin.c | 9 ++------- tests/common/check_utf8.c | 9 ++------- tests/common/check_utils.c | 9 ++------- 6 files changed, 12 insertions(+), 42 deletions(-) (limited to 'tests/common') diff --git a/tests/common/check_config_parser.c b/tests/common/check_config_parser.c index 5360f54..f789eeb 100644 --- a/tests/common/check_config_parser.c +++ b/tests/common/check_config_parser.c @@ -1,10 +1,5 @@ -/* - * blogc: A blog compiler. - * Copyright (C) 2014-2019 Rafael G. Martins - * - * This program can be distributed under the terms of the BSD License. - * See the file LICENSE. - */ +// SPDX-FileCopyrightText: 2014-2024 Rafael G. Martins +// SPDX-License-Identifier: BSD-3-Clause #include #include diff --git a/tests/common/check_error.c b/tests/common/check_error.c index 658ad22..3de9c11 100644 --- a/tests/common/check_error.c +++ b/tests/common/check_error.c @@ -1,10 +1,5 @@ -/* - * blogc: A blog compiler. - * Copyright (C) 2014-2019 Rafael G. Martins - * - * This program can be distributed under the terms of the BSD License. - * See the file LICENSE. - */ +// SPDX-FileCopyrightText: 2014-2024 Rafael G. Martins +// SPDX-License-Identifier: BSD-3-Clause #include #include diff --git a/tests/common/check_sort.c b/tests/common/check_sort.c index 2bc8751..059470c 100644 --- a/tests/common/check_sort.c +++ b/tests/common/check_sort.c @@ -1,10 +1,5 @@ -/* - * blogc: A blog compiler. - * Copyright (C) 2014-2019 Rafael G. Martins - * - * This program can be distributed under the terms of the BSD License. - * See the file LICENSE. - */ +// SPDX-FileCopyrightText: 2014-2024 Rafael G. Martins +// SPDX-License-Identifier: BSD-3-Clause #include #include diff --git a/tests/common/check_stdin.c b/tests/common/check_stdin.c index 5616ee9..3d7df63 100644 --- a/tests/common/check_stdin.c +++ b/tests/common/check_stdin.c @@ -1,10 +1,5 @@ -/* - * blogc: A blog compiler. - * Copyright (C) 2014-2020 Rafael G. Martins - * - * This program can be distributed under the terms of the BSD License. - * See the file LICENSE. - */ +// SPDX-FileCopyrightText: 2014-2024 Rafael G. Martins +// SPDX-License-Identifier: BSD-3-Clause #include #include diff --git a/tests/common/check_utf8.c b/tests/common/check_utf8.c index 95e2eab..734870d 100644 --- a/tests/common/check_utf8.c +++ b/tests/common/check_utf8.c @@ -1,10 +1,5 @@ -/* - * blogc: A blog compiler. - * Copyright (C) 2014-2019 Rafael G. Martins - * - * This program can be distributed under the terms of the BSD License. - * See the file LICENSE. - */ +// SPDX-FileCopyrightText: 2014-2024 Rafael G. Martins +// SPDX-License-Identifier: BSD-3-Clause #include #include diff --git a/tests/common/check_utils.c b/tests/common/check_utils.c index 20e6891..54630f9 100644 --- a/tests/common/check_utils.c +++ b/tests/common/check_utils.c @@ -1,10 +1,5 @@ -/* - * blogc: A blog compiler. - * Copyright (C) 2014-2020 Rafael G. Martins - * - * This program can be distributed under the terms of the BSD License. - * See the file LICENSE. - */ +// SPDX-FileCopyrightText: 2014-2024 Rafael G. Martins +// SPDX-License-Identifier: BSD-3-Clause #include #include -- cgit v1.2.3-18-g5258