]> 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>
Fri, 6 Jun 2025 09:16:52 +0000 (11:16 +0200)
Replace them with a "Written by" or "Authors:" label.

Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
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 fdfe1455baa6b2dfa2142a9e92bec18765252596..d90146fc51edde24484dfebd1539645aeefa6194 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 2d31943cb3c7d97e91973a05d9e7747ad073e2a4..4c505bce700172616ae4002f7fe5e4477cc8bf8e 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 136ec7c05d27dd0df69ff28d59ac8ff4fa15272f..5dab11b88a7a9f39d4474ef9ada2f7838618a607 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 64fefa87861c1805f74cb6a96c3885452b584b59..de0be759651beead0b90ff56f96e32b011e13bbf 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>