summaryrefslogtreecommitdiff
path: root/lib/compat
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2022-11-21 14:25:39 +0100
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2022-11-21 15:27:10 +0100
commit91e8aafc8259115b7fff81d46bee82bca036526e (patch)
tree2bef5ed38a1b46b77f1930bdff8f84539568f020 /lib/compat
parent67580dd8dce0cb43fb0c7e0ec2d3855003fe2389 (diff)
Make some string functions from libcompat available to libsquashfs
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/compat')
-rw-r--r--lib/compat/strchrnul.c6
-rw-r--r--lib/compat/strndup.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/lib/compat/strchrnul.c b/lib/compat/strchrnul.c
index 681b287..7296060 100644
--- a/lib/compat/strchrnul.c
+++ b/lib/compat/strchrnul.c
@@ -1,3 +1,9 @@
+/* SPDX-License-Identifier: LGPL-3.0-or-later */
+/*
+ * strchrnul.c
+ *
+ * Copyright (C) 2019 David Oberhollenzer <goliath@infraroot.at>
+ */
#include "config.h"
#include "compat.h"
diff --git a/lib/compat/strndup.c b/lib/compat/strndup.c
index dff79d7..7e77f6c 100644
--- a/lib/compat/strndup.c
+++ b/lib/compat/strndup.c
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-3.0-or-later */
+/* SPDX-License-Identifier: LGPL-3.0-or-later */
/*
* strndup.c
*