summaryrefslogtreecommitdiff
path: root/documentation/coding_style_en.txt
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2020-08-26 11:54:13 +0800
committerBernard Xiong <[email protected]>2020-08-26 11:54:13 +0800
commit9680f5d683e57c759b747f073688d8dbf3eb247e (patch)
treeb52dcab69c9e6c6101e36b2322d8f7cf46f921cf /documentation/coding_style_en.txt
parent07ad08e0f40c71fe9580b58e1b2a85dc7cb01f39 (diff)
[Doc] Update file header copyright information for license
Diffstat (limited to 'documentation/coding_style_en.txt')
-rw-r--r--documentation/coding_style_en.txt22
1 files changed, 8 insertions, 14 deletions
diff --git a/documentation/coding_style_en.txt b/documentation/coding_style_en.txt
index 4eae4f52dd..9ebc72f6d4 100644
--- a/documentation/coding_style_en.txt
+++ b/documentation/coding_style_en.txt
@@ -42,22 +42,16 @@ In every header file, there should be copyright information and Change Log
record like this:
/*
- * File : rtthread.h
- * 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
- * found in the file LICENSE in this distribution or at
- * http://www.rt-thread.org/license/LICENSE.
- *
- * Change Logs:
- * Date Author Notes
- * 2006-03-18 Bernard the first version
- * 2006-04-26 Bernard add semaphore APIs
- * ...
+ * Copyright (c) 2006-2020, RT-Thread Development Team
+ *
+ * SPDX-License-Identifier: Apache-2.0
+ *
+ * Change Logs:
+ * Date Author Notes
+ * 2006-03-18 Bernard the first version
+ * 2006-04-26 Bernard add semaphore APIs
*/
-
5. Structure Defines
Please name structures in lower-case and connect words with "_". For example: