diff --git a/components/fatfs/test/test_fatfs_common.h b/components/fatfs/test/test_fatfs_common.h index 30ee3431e5..46cf3b8909 100644 --- a/components/fatfs/test/test_fatfs_common.h +++ b/components/fatfs/test/test_fatfs_common.h @@ -1,16 +1,8 @@ -// Copyright 2015-2017 Espressif Systems (Shanghai) PTE LTD -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +/* + * SPDX-FileCopyrightText: 2015-2022 Espressif Systems (Shanghai) CO LTD + * + * SPDX-License-Identifier: Apache-2.0 + */ #pragma once @@ -30,8 +22,8 @@ } \ } while(0) -const char* fatfs_test_hello_str; -const char* fatfs_test_hello_str_utf; +extern const char* fatfs_test_hello_str; +extern const char* fatfs_test_hello_str_utf; void test_fatfs_create_file_with_text(const char* name, const char* text); diff --git a/tools/ci/check_copyright_ignore.txt b/tools/ci/check_copyright_ignore.txt index 62a4264142..c8503a1683 100644 --- a/tools/ci/check_copyright_ignore.txt +++ b/tools/ci/check_copyright_ignore.txt @@ -859,7 +859,6 @@ components/fatfs/src/ffconf.h components/fatfs/src/ffsystem.c components/fatfs/src/ffunicode.c components/fatfs/test/test_fatfs_common.c -components/fatfs/test/test_fatfs_common.h components/fatfs/test/test_fatfs_rawflash.c components/fatfs/test/test_fatfs_spiflash.c components/fatfs/test_fatfs_host/main.cpp