Skip to content

Commit 40f2a7e

Browse files
committed
Modify copyright information
1 parent 0f29877 commit 40f2a7e

2 files changed

Lines changed: 4 additions & 37 deletions

File tree

apps/smart-fetch/smart_fetch.c

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,7 @@
11
/*
2-
* File : smart_fetch.c
3-
* This file is part of RT-Thread RTOS
4-
* COPYRIGHT (C) 2006 - 2018, RT-Thread Development Team
2+
* Copyright (c) 2023, Real-Thread Technology Co., Ltd
53
*
6-
* This software is dual-licensed: you can redistribute it and/or modify
7-
* it under the terms of the GNU General Public License version 2 as
8-
* published by the Free Software Foundation. For the terms of this
9-
* license, see <http://www.gnu.org/licenses/>.
10-
*
11-
* You are free to use this software under the terms of the GNU General
12-
* Public License, but WITHOUT ANY WARRANTY; without even the implied
13-
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
14-
* See the GNU General Public License for more details.
15-
*
16-
* Alternatively for commercial application, you can contact us
17-
* by email <business@rt-thread.com> for commercial license.
4+
* SPDX-License-Identifier: GPL-2.0
185
*
196
* Change Logs:
207
* Date Author Notes
@@ -276,7 +263,6 @@ int smart_fetch_param_parser(int argc, char **argv)
276263
return SUCCESS_SYS_INFO;
277264
}
278265

279-
280266
int main(int argc, char **argv)
281267
{
282268
smart_fetch_param_parser(argc, argv);

apps/smart-fetch/smart_fetch.h

Lines changed: 2 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,19 @@
11
/*
2-
* File : smart_fetch.h
3-
* This file is part of RT-Thread RTOS
4-
* COPYRIGHT (C) 2006 - 2018, RT-Thread Development Team
2+
* Copyright (c) 2023, Real-Thread Technology Co., Ltd
53
*
6-
* This software is dual-licensed: you can redistribute it and/or modify
7-
* it under the terms of the GNU General Public License version 2 as
8-
* published by the Free Software Foundation. For the terms of this
9-
* license, see <http://www.gnu.org/licenses/>.
10-
*
11-
* You are free to use this software under the terms of the GNU General
12-
* Public License, but WITHOUT ANY WARRANTY; without even the implied
13-
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
14-
* See the GNU General Public License for more details.
15-
*
16-
* Alternatively for commercial application, you can contact us
17-
* by email <business@rt-thread.com> for commercial license.
18-
*
19-
* You should have received a copy of the GNU General Public License along
20-
* with this program; if not, write to the Free Software Foundation, Inc.,
21-
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
4+
* SPDX-License-Identifier: GPL-2.0
225
*
236
* Change Logs:
247
* Date Author Notes
258
* 2023-06-06 Bernard the first version
269
*/
2710

28-
2911
#ifndef SMART_FETCH_H__
3012
#define SMART_FETCH_H__
3113

3214
#define ERROR_SYS_INFO -1
3315
#define SUCCESS_SYS_INFO 0
3416

35-
3617
#define NONE "\e[0m"
3718
#define BLACK "\e[0;30m"
3819
#define L_BLACK "\e[1;30m"

0 commit comments

Comments
 (0)