[PATCH 2/6] remove "Copyright (C) ...." notes from files that claim no copyright

Benno Schulenberg <[email protected]>
Newsgroups org.kernel.vger.util-linux
Message-ID <[email protected]>
Replace them with a "Written by" or "Authors:" label.

Signed-off-by: Benno Schulenberg <[email protected]>
---
 include/color-names.h | 2 +-
 include/procfs.h      | 2 +-
 include/sysfs.h       | 2 +-
 lib/color-names.c     | 2 +-
 lib/langinfo.c        | 8 ++++----
 lib/mangle.c          | 2 +-
 lib/path.c            | 2 +-
 lib/procfs.c          | 2 +-
 lib/strutils.c        | 6 +++---
 lib/sysfs.c           | 2 +-
 10 files changed, 15 insertions(+), 15 deletions(-)

diff --git a/include/color-names.h b/include/color-names.h
index d6a5267b2..af8e075d5 100644
--- a/include/color-names.h
+++ b/include/color-names.h
@@ -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 <[email protected]>
+ * Written by Karel Zak <[email protected]> [2012]
  */
 #ifndef UTIL_LINUX_COLOR_NAMES_H
 #define UTIL_LINUX_COLOR_NAMES_H
diff --git a/include/procfs.h b/include/procfs.h
index fdfe1455b..d90146fc5 100644
--- a/include/procfs.h
+++ b/include/procfs.h
@@ -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 <[email protected]>
+ * Written by Karel Zak <[email protected]> [2021]
  */
 #ifndef UTIL_LINUX_PROCFS_H
 #define UTIL_LINUX_PROCFS_H
diff --git a/include/sysfs.h b/include/sysfs.h
index 8d77f7579..758340702 100644
--- a/include/sysfs.h
+++ b/include/sysfs.h
@@ -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 <[email protected]>
+ * Written by Karel Zak <[email protected]> [2011]
  */
 #ifndef UTIL_LINUX_SYSFS_H
 #define UTIL_LINUX_SYSFS_H
diff --git a/lib/color-names.c b/lib/color-names.c
index fa5453c6b..ec53e3d47 100644
--- a/lib/color-names.c
+++ b/lib/color-names.c
@@ -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 <[email protected]>
+ * Written by Karel Zak <[email protected]> [2012]
  */
 #include "c.h"
 #include "color-names.h"
diff --git a/lib/langinfo.c b/lib/langinfo.c
index a20008546..8a5af8e55 100644
--- a/lib/langinfo.c
+++ b/lib/langinfo.c
@@ -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 <[email protected]>
+ * Written by Karel Zak <[email protected]> [2010]
  */
 #include "nls.h"
 
diff --git a/lib/mangle.c b/lib/mangle.c
index 2d31943cb..4c505bce7 100644
--- a/lib/mangle.c
+++ b/lib/mangle.c
@@ -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 <[email protected]>
+ * Written by Karel Zak <[email protected]> [2010]
  */
 #include <stdio.h>
 #include <stdlib.h>
diff --git a/lib/path.c b/lib/path.c
index 42a33ffc5..48324d6dc 100644
--- a/lib/path.c
+++ b/lib/path.c
@@ -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 <[email protected]>
+ * Written by Karel Zak <[email protected]> [2018]
  *
  *
  * Simple functions to access files. Paths can be globally prefixed to read
diff --git a/lib/procfs.c b/lib/procfs.c
index 136ec7c05..5dab11b88 100644
--- a/lib/procfs.c
+++ b/lib/procfs.c
@@ -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 <[email protected]>
+ * Written by Karel Zak <[email protected]> [2021]
  */
 #include <ctype.h>
 #include <unistd.h>
diff --git a/lib/strutils.c b/lib/strutils.c
index 64fefa878..de0be7596 100644
--- a/lib/strutils.c
+++ b/lib/strutils.c
@@ -1,9 +1,9 @@
 /*
- * Copyright (C) 2010 Karel Zak <[email protected]>
- * Copyright (C) 2010 Davidlohr Bueso <[email protected]>
- *
  * No copyright is claimed.  This code is in the public domain; do with
  * it what you wish.
+ *
+ * Authors: Karel Zak <[email protected]> [2010]
+ *          Davidlohr Bueso <[email protected]> [2010]
  */
 #include <stdio.h>
 #include <stdlib.h>
diff --git a/lib/sysfs.c b/lib/sysfs.c
index 0a016be97..951de6332 100644
--- a/lib/sysfs.c
+++ b/lib/sysfs.c
@@ -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 <[email protected]>
+ * Written by Karel Zak <[email protected]> [2011]
  */
 #include <ctype.h>
 #include <libgen.h>
-- 
2.48.1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.