summaryrefslogtreecommitdiff
path: root/testing
diff options
context:
space:
mode:
authoriphydf <iphydf@users.noreply.github.com>2020-03-12 01:10:33 +0000
committeriphydf <iphydf@users.noreply.github.com>2020-03-14 13:06:19 +0000
commit11ad5471b91dc1b36552ba4e5a3ea434c8a30f5f (patch)
tree94429d74652509b06efef17d17734f647ee4e6ce /testing
parentc644ef76810f8db61bce3f52d36a1a6a25e47683 (diff)
Use spdx license identifier instead of GPL blurb.
Diffstat (limited to 'testing')
-rw-r--r--testing/DHT_test.c25
-rw-r--r--testing/Messenger_test.c25
-rw-r--r--testing/misc_tools.c23
3 files changed, 14 insertions, 59 deletions
diff --git a/testing/DHT_test.c b/testing/DHT_test.c
index 7e9a4a5f..8ba61ec2 100644
--- a/testing/DHT_test.c
+++ b/testing/DHT_test.c
@@ -1,3 +1,8 @@
1/* SPDX-License-Identifier: GPL-3.0-or-later
2 * Copyright © 2016-2018 The TokTok team.
3 * Copyright © 2013 Tox project.
4 */
5
1/* DHT test 6/* DHT test
2 * A file with a main that runs our DHT for testing. 7 * A file with a main that runs our DHT for testing.
3 * 8 *
@@ -8,26 +13,6 @@
8 * 13 *
9 * The test will then ask you for the id (in hex format) of the friend you wish to add 14 * The test will then ask you for the id (in hex format) of the friend you wish to add
10 */ 15 */
11
12/*
13 * Copyright © 2016-2018 The TokTok team.
14 * Copyright © 2013 Tox project.
15 *
16 * This file is part of Tox, the free peer to peer instant messenger.
17 *
18 * Tox is free software: you can redistribute it and/or modify
19 * it under the terms of the GNU General Public License as published by
20 * the Free Software Foundation, either version 3 of the License, or
21 * (at your option) any later version.
22 *
23 * Tox is distributed in the hope that it will be useful,
24 * but WITHOUT ANY WARRANTY; without even the implied warranty of
25 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26 * GNU General Public License for more details.
27 *
28 * You should have received a copy of the GNU General Public License
29 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
30 */
31#ifndef _XOPEN_SOURCE 16#ifndef _XOPEN_SOURCE
32#define _XOPEN_SOURCE 600 17#define _XOPEN_SOURCE 600
33#endif 18#endif
diff --git a/testing/Messenger_test.c b/testing/Messenger_test.c
index a61d0dcf..8ac8db67 100644
--- a/testing/Messenger_test.c
+++ b/testing/Messenger_test.c
@@ -1,3 +1,8 @@
1/* SPDX-License-Identifier: GPL-3.0-or-later
2 * Copyright © 2016-2018 The TokTok team.
3 * Copyright © 2013 Tox project.
4 */
5
1/* Messenger test 6/* Messenger test
2 * 7 *
3 * This program adds a friend and accepts all friend requests with the proper message. 8 * This program adds a friend and accepts all friend requests with the proper message.
@@ -18,26 +23,6 @@
18 * 23 *
19 * EX: ./test Save.bak 24 * EX: ./test Save.bak
20 */ 25 */
21
22/*
23 * Copyright © 2016-2018 The TokTok team.
24 * Copyright © 2013 Tox project.
25 *
26 * This file is part of Tox, the free peer to peer instant messenger.
27 *
28 * Tox is free software: you can redistribute it and/or modify
29 * it under the terms of the GNU General Public License as published by
30 * the Free Software Foundation, either version 3 of the License, or
31 * (at your option) any later version.
32 *
33 * Tox is distributed in the hope that it will be useful,
34 * but WITHOUT ANY WARRANTY; without even the implied warranty of
35 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
36 * GNU General Public License for more details.
37 *
38 * You should have received a copy of the GNU General Public License
39 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
40 */
41#include <stdio.h> 26#include <stdio.h>
42#include <stdlib.h> 27#include <stdlib.h>
43#include <string.h> 28#include <string.h>
diff --git a/testing/misc_tools.c b/testing/misc_tools.c
index 22fa0d0c..8ab23db9 100644
--- a/testing/misc_tools.c
+++ b/testing/misc_tools.c
@@ -1,25 +1,10 @@
1/* 1/* SPDX-License-Identifier: GPL-3.0-or-later
2 * Miscellaneous functions and data structures for doing random things. 2 * Copyright © 2016-2018 The TokTok team.
3 * Copyright © 2013 Tox project.
3 */ 4 */
4 5
5/* 6/*
6 * Copyright © 2016-2018 The TokTok team. 7 * Miscellaneous functions and data structures for doing random things.
7 * Copyright © 2013 Tox project.
8 *
9 * This file is part of Tox, the free peer to peer instant messenger.
10 *
11 * Tox is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License as published by
13 * the Free Software Foundation, either version 3 of the License, or
14 * (at your option) any later version.
15 *
16 * Tox is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
20 *
21 * You should have received a copy of the GNU General Public License
22 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
23 */ 8 */
24#ifdef HAVE_CONFIG_H 9#ifdef HAVE_CONFIG_H
25#include "config.h" 10#include "config.h"