summaryrefslogtreecommitdiff
path: root/shared
diff options
context:
space:
mode:
authorDavid Härdeman <david@hardeman.nu>2020-07-06 20:57:33 +0200
committerDavid Härdeman <david@hardeman.nu>2020-07-06 20:57:33 +0200
commit76ee64b5b3e30706181becbf33cc45d67f39f364 (patch)
tree27ef23d5026469258d7fad09c74c4dd9d0ffbed5 /shared
parentc9c5028018a588baad2c1af6dcfa3325bc18d02c (diff)
Add some license information and the beginning of Debian packages
Diffstat (limited to 'shared')
-rw-r--r--shared/ansi-colors.h1
-rw-r--r--shared/config-parser.c1
-rw-r--r--shared/config-parser.h1
-rw-r--r--shared/debug.h1
-rw-r--r--shared/external.h1
-rw-r--r--shared/list.h2
-rw-r--r--shared/mc-protocol.c1
-rw-r--r--shared/mc-protocol.h1
-rw-r--r--shared/meson.build1
-rw-r--r--shared/rcon-protocol.c1
-rw-r--r--shared/rcon-protocol.h1
-rw-r--r--shared/server-config-options.h1
-rw-r--r--shared/utils.c1
-rw-r--r--shared/utils.h1
14 files changed, 14 insertions, 1 deletions
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 <stdio.h>
#include <ctype.h>
#include <string.h>
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 <stdint.h>
#include <inttypes.h>
#include <strings.h>
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 <stdint.h>
#include <stdbool.h>
#include <stddef.h>
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 <stdlib.h>
#include <errno.h>
#include <stdint.h>
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