aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/contrib/nat-hole-punching
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-09-20 01:49:47 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2018-09-20 19:41:22 +0200
commitcef7ac9ef9b9a5ecf75e8e63e32dd745f3c370aa (patch)
treed8e687fa2d61d6abd6df2b45fb6b5402c5626f78 /contrib/nat-hole-punching
parentglobal: prefer sizeof(*pointer) when possible (diff)
downloadwireguard-tools-cef7ac9ef9b9a5ecf75e8e63e32dd745f3c370aa.tar.xz
wireguard-tools-cef7ac9ef9b9a5ecf75e8e63e32dd745f3c370aa.zip
global: put SPDX identifier on its own line
The kernel has very specific rules correlating file type with comment type, and also SPDX identifiers can't be merged with other comments. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'contrib/nat-hole-punching')
-rw-r--r--contrib/nat-hole-punching/nat-punch-client.c4
-rw-r--r--contrib/nat-hole-punching/nat-punch-server.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/contrib/nat-hole-punching/nat-punch-client.c b/contrib/nat-hole-punching/nat-punch-client.c
index 0133c3c..09af278 100644
--- a/contrib/nat-hole-punching/nat-punch-client.c
+++ b/contrib/nat-hole-punching/nat-punch-client.c
@@ -1,5 +1,5 @@
-/* SPDX-License-Identifier: GPL-2.0
- *
+// SPDX-License-Identifier: GPL-2.0
+/*
* Copyright (C) 2015-2018 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
*
* Example only. Do not run in production.
diff --git a/contrib/nat-hole-punching/nat-punch-server.c b/contrib/nat-hole-punching/nat-punch-server.c
index 29e065e..2f49aa8 100644
--- a/contrib/nat-hole-punching/nat-punch-server.c
+++ b/contrib/nat-hole-punching/nat-punch-server.c
@@ -1,5 +1,5 @@
-/* SPDX-License-Identifier: GPL-2.0
- *
+// SPDX-License-Identifier: GPL-2.0
+/*
* Copyright (C) 2015-2018 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
*
* Example only. Do not run in production.