diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-09-20 01:49:47 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-09-20 19:41:22 +0200 |
commit | cef7ac9ef9b9a5ecf75e8e63e32dd745f3c370aa (patch) | |
tree | d8e687fa2d61d6abd6df2b45fb6b5402c5626f78 /src | |
parent | global: prefer sizeof(*pointer) when possible (diff) | |
download | wireguard-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')
-rw-r--r-- | src/config.c | 4 | ||||
-rw-r--r-- | src/config.h | 4 | ||||
-rw-r--r-- | src/containers.h | 4 | ||||
-rw-r--r-- | src/curve25519.c | 4 | ||||
-rw-r--r-- | src/curve25519.h | 4 | ||||
-rw-r--r-- | src/encoding.c | 4 | ||||
-rw-r--r-- | src/encoding.h | 4 | ||||
-rw-r--r-- | src/genkey.c | 4 | ||||
-rw-r--r-- | src/ipc.c | 4 | ||||
-rw-r--r-- | src/ipc.h | 4 | ||||
-rw-r--r-- | src/mnlg.c | 4 | ||||
-rw-r--r-- | src/mnlg.h | 4 | ||||
-rw-r--r-- | src/pubkey.c | 4 | ||||
-rw-r--r-- | src/set.c | 4 | ||||
-rw-r--r-- | src/setconf.c | 4 | ||||
-rw-r--r-- | src/show.c | 4 | ||||
-rw-r--r-- | src/showconf.c | 4 | ||||
-rw-r--r-- | src/subcommands.h | 4 | ||||
-rw-r--r-- | src/terminal.c | 4 | ||||
-rw-r--r-- | src/terminal.h | 4 | ||||
-rw-r--r-- | src/wg-quick/android.c | 4 | ||||
-rw-r--r-- | src/wg.c | 4 |
22 files changed, 44 insertions, 44 deletions
diff --git a/src/config.c b/src/config.c index 93525fb..1daa5ea 100644 --- a/src/config.c +++ b/src/config.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. */ diff --git a/src/config.h b/src/config.h index 9dec248..44f715a 100644 --- a/src/config.h +++ b/src/config.h @@ -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. */ diff --git a/src/containers.h b/src/containers.h index 455d998..619094e 100644 --- a/src/containers.h +++ b/src/containers.h @@ -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. */ diff --git a/src/curve25519.c b/src/curve25519.c index 8197c17..e76588b 100644 --- a/src/curve25519.c +++ b/src/curve25519.c @@ -1,5 +1,5 @@ -/* SPDX-License-Identifier: GPL-2.0 - * +// SPDX-License-Identifier: GPL-2.0 +/* * Copyright (C) 2018 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. */ diff --git a/src/curve25519.h b/src/curve25519.h index 6028bb5..09ca6b9 100644 --- a/src/curve25519.h +++ b/src/curve25519.h @@ -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. */ 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. diff --git a/src/encoding.h b/src/encoding.h index 0e361ff..8815c33 100644 --- a/src/encoding.h +++ b/src/encoding.h @@ -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. */ diff --git a/src/genkey.c b/src/genkey.c index d2d4c53..e50d64b 100644 --- a/src/genkey.c +++ b/src/genkey.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. */ @@ -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. */ @@ -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. */ @@ -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. * * Original author: Jiri Pirko <jiri@mellanox.com> @@ -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. * * Original author: Jiri Pirko <jiri@mellanox.com> diff --git a/src/pubkey.c b/src/pubkey.c index 385145b..cf8e256 100644 --- a/src/pubkey.c +++ b/src/pubkey.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. */ @@ -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. */ diff --git a/src/setconf.c b/src/setconf.c index 012c245..7135e85 100644 --- a/src/setconf.c +++ b/src/setconf.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. */ @@ -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. */ diff --git a/src/showconf.c b/src/showconf.c index 313ad23..777e022 100644 --- a/src/showconf.c +++ b/src/showconf.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. */ diff --git a/src/subcommands.h b/src/subcommands.h index c4aa4c6..2a7e36e 100644 --- a/src/subcommands.h +++ b/src/subcommands.h @@ -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. */ diff --git a/src/terminal.c b/src/terminal.c index e3f6039..bee3a44 100644 --- a/src/terminal.c +++ b/src/terminal.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. */ diff --git a/src/terminal.h b/src/terminal.h index 8c2ffa6..0994895 100644 --- a/src/terminal.h +++ b/src/terminal.h @@ -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. */ diff --git a/src/wg-quick/android.c b/src/wg-quick/android.c index 796607d..e397664 100644 --- a/src/wg-quick/android.c +++ b/src/wg-quick/android.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 shell script written in C. It very intentionally still functions like @@ -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. */ |