aboutsummaryrefslogtreecommitdiffstats
path: root/lib/path.c
diff options
context:
space:
mode:
authorKarel Zak <kzak@redhat.com>2023-06-20 12:52:35 +0200
committerKarel Zak <kzak@redhat.com>2023-06-20 12:52:35 +0200
commit79feaa6022453d3c62ddf8396d4b6475344a46a3 (patch)
treeef62791c72f8ba06efeab05bb9caa78c8c1a3553 /lib/path.c
parent278f76ae88807eec5c202d44cd3ecdb8b201347b (diff)
downloadutil-linux-79feaa6022453d3c62ddf8396d4b6475344a46a3.tar.gz
lib/ include/: cleanup licence headers
This patch does not change any license of the affected files. Changes: * add missing SPDX-License-Identifier lines for LGPL * copy missing license lines from code (lib/) to header files (include/) * use the same comment formatting Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'lib/path.c')
-rw-r--r--lib/path.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/lib/path.c b/lib/path.c
index 8da6c06db0..95a6b8b895 100644
--- a/lib/path.c
+++ b/lib/path.c
@@ -1,4 +1,10 @@
/*
+ * No copyright is claimed. This code is in the public domain; do with
+ * it what you wish.
+ *
+ * Copyright (C) 2018 Karel Zak <kzak@redhat.com>
+ *
+ *
* Simple functions to access files. Paths can be globally prefixed to read
* data from an alternative source (e.g. a /proc dump for regression tests).
*
@@ -7,11 +13,6 @@
*
* The ul_path_read_* API is possible to use without path_cxt handler. In this
* case is not possible to use global prefix and printf-like formatting.
- *
- * No copyright is claimed. This code is in the public domain; do with
- * it what you wish.
- *
- * Written by Karel Zak <kzak@redhat.com> [February 2018]
*/
#include <stdarg.h>
#include <string.h>