From 76ee64b5b3e30706181becbf33cc45d67f39f364 Mon Sep 17 00:00:00 2001 From: David Härdeman Date: Mon, 6 Jul 2020 20:57:33 +0200 Subject: Add some license information and the beginning of Debian packages --- shared/ansi-colors.h | 1 + shared/config-parser.c | 1 + shared/config-parser.h | 1 + shared/debug.h | 1 + shared/external.h | 1 + shared/list.h | 2 +- shared/mc-protocol.c | 1 + shared/mc-protocol.h | 1 + shared/meson.build | 1 + shared/rcon-protocol.c | 1 + shared/rcon-protocol.h | 1 + shared/server-config-options.h | 1 + shared/utils.c | 1 + shared/utils.h | 1 + 14 files changed, 14 insertions(+), 1 deletion(-) (limited to 'shared') diff --git a/shared/ansi-colors.h b/shared/ansi-colors.h index 6e07e1e..8969c22 100644 --- a/shared/ansi-colors.h +++ b/shared/ansi-colors.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #ifndef fooansicolorshfoo #define fooansicolorshfoo diff --git a/shared/config-parser.c b/shared/config-parser.c index 6b91f3f..f249cda 100644 --- a/shared/config-parser.c +++ b/shared/config-parser.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #include #include #include diff --git a/shared/config-parser.h b/shared/config-parser.h index 4e3cbca..7d0595d 100644 --- a/shared/config-parser.h +++ b/shared/config-parser.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #ifndef fooconfigparserhfoo #define fooconfigparserhfoo diff --git a/shared/debug.h b/shared/debug.h index 2b1eba0..18f9f0e 100644 --- a/shared/debug.h +++ b/shared/debug.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #ifndef foodebughfoo #define foodebughfoo diff --git a/shared/external.h b/shared/external.h index 738e460..2031937 100644 --- a/shared/external.h +++ b/shared/external.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #ifndef fooexternalhfoo #define fooexternalhfoo diff --git a/shared/list.h b/shared/list.h index 25f4219..08e8d1b 100644 --- a/shared/list.h +++ b/shared/list.h @@ -4,7 +4,7 @@ * kernel (26 June 2020). * * The only modifications are the ones necessary to make it compile - * outside the kernel tree, and remove some functions which are not + * outside the kernel tree, and to remove some functions which are not * necessary (like hlist*). */ diff --git a/shared/mc-protocol.c b/shared/mc-protocol.c index 03a2dcd..c62f5bc 100644 --- a/shared/mc-protocol.c +++ b/shared/mc-protocol.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #include #include #include diff --git a/shared/mc-protocol.h b/shared/mc-protocol.h index 8e62aeb..e233e28 100644 --- a/shared/mc-protocol.h +++ b/shared/mc-protocol.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #ifndef foomcprotocolhfoo #define foomcprotocolhfoo diff --git a/shared/meson.build b/shared/meson.build index f0ef635..021fe11 100644 --- a/shared/meson.build +++ b/shared/meson.build @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 srcs_libshared = [ 'rcon-protocol.c', 'mc-protocol.c', diff --git a/shared/rcon-protocol.c b/shared/rcon-protocol.c index 1941662..b7c9a7e 100644 --- a/shared/rcon-protocol.c +++ b/shared/rcon-protocol.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #include #include #include diff --git a/shared/rcon-protocol.h b/shared/rcon-protocol.h index 593a43f..d6c2a4a 100644 --- a/shared/rcon-protocol.h +++ b/shared/rcon-protocol.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #ifndef foorconprotocolhfoo #define foorconprotocolhfoo diff --git a/shared/server-config-options.h b/shared/server-config-options.h index 78f9598..dd1a485 100644 --- a/shared/server-config-options.h +++ b/shared/server-config-options.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #ifndef fooserverconfigoptionshfoo #define fooserverconfigoptionshfoo diff --git a/shared/utils.c b/shared/utils.c index b870716..6474e30 100644 --- a/shared/utils.c +++ b/shared/utils.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #include #include #include diff --git a/shared/utils.h b/shared/utils.h index 36c642c..9404323 100644 --- a/shared/utils.h +++ b/shared/utils.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #ifndef fooutilshfoo #define fooutilshfoo -- cgit v1.2.3