From: Benno Schulenberg <bensberg@telfort.nl>
To: util-linux@vger.kernel.org
Subject: [PATCH 2/6] remove "Copyright (C) ...." notes from files that claim no copyright
Date: Mon, 2 Jun 2025 16:14:32 +0200 [thread overview]
Message-ID: <20250602141436.11156-2-bensberg@telfort.nl> (raw)
In-Reply-To: <20250602141436.11156-1-bensberg@telfort.nl>
Replace them with a "Written by" or "Authors:" label.
Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
---
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 <kzak@redhat.com>
+ * Written by Karel Zak <kzak@redhat.com> [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 <kzak@redhat.com>
+ * Written by Karel Zak <kzak@redhat.com> [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 <kzak@redhat.com>
+ * Written by Karel Zak <kzak@redhat.com> [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 <kzak@redhat.com>
+ * Written by Karel Zak <kzak@redhat.com> [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 <kzak@redhat.com>
+ * Written by Karel Zak <kzak@redhat.com> [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 <kzak@redhat.com>
+ * Written by Karel Zak <kzak@redhat.com> [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 <kzak@redhat.com>
+ * Written by Karel Zak <kzak@redhat.com> [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 <kzak@redhat.com>
+ * Written by Karel Zak <kzak@redhat.com> [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 <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>
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 <kzak@redhat.com>
+ * Written by Karel Zak <kzak@redhat.com> [2011]
*/
#include <ctype.h>
#include <libgen.h>
--
2.48.1
next prev parent reply other threads:[~2025-06-02 14:14 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-06-02 14:14 [PATCH 1/6] remove two leftover license lines from colors.{c,h} Benno Schulenberg
2025-06-02 14:14 ` Benno Schulenberg [this message]
2025-06-02 14:14 ` [PATCH 3/6] correct the full name of the GPL in various files Benno Schulenberg
2025-06-02 14:14 ` [PATCH 4/6] docs: make the "po4a:" line the first line, like in all other .adoc files Benno Schulenberg
2025-06-02 14:14 ` [PATCH 5/6] docs: stop the copyright verbiage from getting included in the POT file Benno Schulenberg
2025-06-02 14:14 ` [PATCH 6/6] treewide: replace postal address in license specifier with a terse URL Benno Schulenberg
2025-06-09 12:44 ` [PATCH 1/6] remove two leftover license lines from colors.{c,h} Karel Zak
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250602141436.11156-2-bensberg@telfort.nl \
--to=bensberg@telfort.nl \
--cc=util-linux@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox