未验证 提交 241a29a1 编写于 作者: B Bernard Xiong 提交者: GitHub

Merge pull request #3848 from BernardXiong/fix_doc_license

[skip travis] [Doc] Update file header copyright information for license
...@@ -36,30 +36,15 @@ C语言头文件为了避免多次重复包含,需要定义一个符号。这 ...@@ -36,30 +36,15 @@ C语言头文件为了避免多次重复包含,需要定义一个符号。这
在每个源文件文件头上,应该包括相应的版权信息,Change Log 记录: 在每个源文件文件头上,应该包括相应的版权信息,Change Log 记录:
```c ```c
/* /*
* File : rtthread.h * Copyright (c) 2006-2020, RT-Thread Development Team
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2006 - 2012, RT-Thread Development Team
* *
* This program is free software; you can redistribute it and/or modify * SPDX-License-Identifier: Apache-2.0
* 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.
* *
* Change Logs: * Change Logs:
* Date Author Notes * Date Author Notes
* 2006-03-18 Bernard the first version * 2006-03-18 Bernard the first version
* 2006-04-26 Bernard add semaphore APIs * 2006-04-26 Bernard add semaphore APIs
* ...
*/ */
``` ```
......
...@@ -42,22 +42,16 @@ In every header file, there should be copyright information and Change Log ...@@ -42,22 +42,16 @@ In every header file, there should be copyright information and Change Log
record like this: record like this:
/* /*
* File : rtthread.h * Copyright (c) 2006-2020, RT-Thread Development Team
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2006, RT-Thread Development Team
* *
* The license and distribution terms for this file may be * SPDX-License-Identifier: Apache-2.0
* found in the file LICENSE in this distribution or at
* http://www.rt-thread.org/license/LICENSE.
* *
* Change Logs: * Change Logs:
* Date Author Notes * Date Author Notes
* 2006-03-18 Bernard the first version * 2006-03-18 Bernard the first version
* 2006-04-26 Bernard add semaphore APIs * 2006-04-26 Bernard add semaphore APIs
* ...
*/ */
5. Structure Defines 5. Structure Defines
Please name structures in lower-case and connect words with "_". For example: Please name structures in lower-case and connect words with "_". For example:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册