@@ -36,31 +36,16 @@ C语言头文件为了避免多次重复包含,需要定义一个符号。这
36
36
在每个源文件文件头上,应该包括相应的版权信息,Change Log 记录:
37
37
38
38
``` c
39
- /*
40
- * File : rtthread.h
41
- * This file is part of RT-Thread RTOS
42
- * COPYRIGHT (C) 2006 - 2012, RT-Thread Development Team
43
- *
44
- * This program is free software; you can redistribute it and/or modify
45
- * it under the terms of the GNU General Public License as published by
46
- * the Free Software Foundation; either version 2 of the License, or
47
- * (at your option) any later version.
48
- *
49
- * This program is distributed in the hope that it will be useful,
50
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
51
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
52
- * GNU General Public License for more details.
53
- *
54
- * You should have received a copy of the GNU General Public License along
55
- * with this program; if not, write to the Free Software Foundation, Inc.,
56
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
57
- *
58
- * Change Logs:
59
- * Date Author Notes
60
- * 2006-03-18 Bernard the first version
61
- * 2006-04-26 Bernard add semaphore APIs
62
- * ...
63
- */
39
+ /*
40
+ * Copyright (c) 2006-2020, RT-Thread Development Team
41
+ *
42
+ * SPDX-License-Identifier: Apache-2.0
43
+ *
44
+ * Change Logs:
45
+ * Date Author Notes
46
+ * 2006-03-18 Bernard the first version
47
+ * 2006-04-26 Bernard add semaphore APIs
48
+ */
64
49
```
65
50
66
51
例如采用如上的形式。
0 commit comments