aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/encoding.c
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 /src/encoding.c
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 'src/encoding.c')
-rw-r--r--src/encoding.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/encoding.c b/src/encoding.c
index 2e2d915..d64b86e 100644
--- a/src/encoding.c
+++ b/src/encoding.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.
*
* This is a specialized constant-time base64/hex implementation that resists side-channel attacks.