]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
remove "Copyright (C) ...." notes from files that claim no copyright
authorBenno Schulenberg <bensberg@telfort.nl>
Mon, 2 Jun 2025 14:14:32 +0000 (16:14 +0200)
committerKarel Zak <kzak@redhat.com>
Thu, 19 Jun 2025 08:17:04 +0000 (10:17 +0200)
Replace them with a "Written by" or "Authors:" label.

Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
(cherry picked from commit 44da1cb11db3db73898918969a5c33f825458278)

include/color-names.h
include/procfs.h
include/sysfs.h
lib/color-names.c
lib/langinfo.c
lib/mangle.c
lib/path.c
lib/procfs.c
lib/strutils.c
lib/sysfs.c

index d6a5267b2479ea6d19482a644941fab37ec379d5..af8e075d5560e6b84f2766e17fbd3aad5e3c7211 100644 (file)
@@ -2,7 +2,7 @@
  * No copyright is claimed.  This code is in the public domain; do with
  * it what you wish.
  *
- * Copyright (C) 2012-2015 Karel Zak <kzak@redhat.com>
+ * Written by Karel Zak <kzak@redhat.com> [2012]
  */
 #ifndef UTIL_LINUX_COLOR_NAMES_H
 #define UTIL_LINUX_COLOR_NAMES_H
index 14625e0ba4ecc275820b080387db7873429feb7f..29b9b1a90093091ebfc135ee62ea156778a300ad 100644 (file)
@@ -2,7 +2,7 @@
  * No copyright is claimed.  This code is in the public domain; do with
  * it what you wish.
  *
- * Copyright (C) 2021 Karel Zak <kzak@redhat.com>
+ * Written by Karel Zak <kzak@redhat.com> [2021]
  */
 #ifndef UTIL_LINUX_PROCFS_H
 #define UTIL_LINUX_PROCFS_H
index 8d77f757983df1619e45ab17c70bb9490c93f0d1..7583407028bdc8b3eb9440caf332f253f8c4fb1c 100644 (file)
@@ -2,7 +2,7 @@
  * No copyright is claimed.  This code is in the public domain; do with
  * it what you wish.
  *
- * Copyright (C) 2011 Karel Zak <kzak@redhat.com>
+ * Written by Karel Zak <kzak@redhat.com> [2011]
  */
 #ifndef UTIL_LINUX_SYSFS_H
 #define UTIL_LINUX_SYSFS_H
index fa5453c6b9e4d029d0a88c0cdec006c934d2ab55..ec53e3d4770081224af5767856d79ad66535efaa 100644 (file)
@@ -2,7 +2,7 @@
  * No copyright is claimed.  This code is in the public domain; do with
  * it what you wish.
  *
- * Copyright (C) 2012-2015 Karel Zak <kzak@redhat.com>
+ * Written by Karel Zak <kzak@redhat.com> [2012]
  */
 #include "c.h"
 #include "color-names.h"
index a20008546fc65aaa92d182ddf6f9c024b0d8f3dc..8a5af8e554aafd44046c99cd7f01edfb836e4085 100644 (file)
@@ -1,13 +1,13 @@
 /*
- * This is callback solution for systems without nl_langinfo(), this function
- * returns hardcoded and on locale setting indepndent value.
+ * This is a fallback solution for systems without nl_langinfo().  This
+ * function returns a hardcoded value, independent from locale settings.
  *
- * See langinfo.h man page for more details.
+ * See `man langinfo.h` for more details.
  *
  * No copyright is claimed.  This code is in the public domain; do with
  * it what you wish.
  *
- * Copyright (C) 2010 Karel Zak <kzak@redhat.com>
+ * Written by Karel Zak <kzak@redhat.com> [2010]
  */
 #include "nls.h"
 
index 1a3b89ae488848d6b14a29ad2659f427bdbdda85..e067058226ca2c943e9cff7de363c4048fab4c1e 100644 (file)
@@ -4,7 +4,7 @@
  * No copyright is claimed.  This code is in the public domain; do with
  * it what you wish.
  *
- * Copyright (C) 2010 Karel Zak <kzak@redhat.com>
+ * Written by Karel Zak <kzak@redhat.com> [2010]
  */
 #include <stdio.h>
 #include <stdlib.h>
index 42a33ffc53752ba5e00aed2396ca9a4fc876c1ef..48324d6dc8958a00713fa96e9b20746d54485aad 100644 (file)
@@ -2,7 +2,7 @@
  * 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>
+ * Written by Karel Zak <kzak@redhat.com> [2018]
  *
  *
  * Simple functions to access files. Paths can be globally prefixed to read
index 59f40ffbb0552b30fa284a9da0d9bde70f9fc660..0c9721630342b60ce3e1aabf68e0cbaa01efe5e8 100644 (file)
@@ -2,7 +2,7 @@
  * No copyright is claimed.  This code is in the public domain; do with
  * it what you wish.
  *
- * Copyright (C) 2021 Karel Zak <kzak@redhat.com>
+ * Written by Karel Zak <kzak@redhat.com> [2021]
  */
 #include <ctype.h>
 #include <unistd.h>
index 330489c419df7711bbf9c9c5a431d74456bd7b30..52d26d9e79fd53d54afc2f608f216cb3e0b49833 100644 (file)
@@ -1,9 +1,9 @@
 /*
- * Copyright (C) 2010 Karel Zak <kzak@redhat.com>
- * Copyright (C) 2010 Davidlohr Bueso <dave@gnu.org>
- *
  * No copyright is claimed.  This code is in the public domain; do with
  * it what you wish.
+ *
+ * Authors: Karel Zak <kzak@redhat.com> [2010]
+ *          Davidlohr Bueso <dave@gnu.org> [2010]
  */
 #include <stdio.h>
 #include <stdlib.h>
index 0a016be97e6df4786e14bef1a1807b4febed4fe9..951de6332a3300557c55a7acb85fb754bad6d4bb 100644 (file)
@@ -2,7 +2,7 @@
  * No copyright is claimed.  This code is in the public domain; do with
  * it what you wish.
  *
- * Copyright (C) 2011 Karel Zak <kzak@redhat.com>
+ * Written by Karel Zak <kzak@redhat.com> [2011]
  */
 #include <ctype.h>
 #include <libgen.h>