From: Benno Schulenberg Date: Mon, 2 Jun 2025 14:14:32 +0000 (+0200) Subject: remove "Copyright (C) ...." notes from files that claim no copyright X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=44da1cb11db3db73898918969a5c33f825458278;p=thirdparty%2Futil-linux.git remove "Copyright (C) ...." notes from files that claim no copyright Replace them with a "Written by" or "Authors:" label. Signed-off-by: Benno Schulenberg --- 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 + * Written by Karel Zak [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 + * Written by Karel Zak [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 + * Written by Karel Zak [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 + * Written by Karel Zak [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 + * Written by Karel Zak [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 + * Written by Karel Zak [2010] */ #include #include 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 + * Written by Karel Zak [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 + * Written by Karel Zak [2021] */ #include #include 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 - * Copyright (C) 2010 Davidlohr Bueso - * * No copyright is claimed. This code is in the public domain; do with * it what you wish. + * + * Authors: Karel Zak [2010] + * Davidlohr Bueso [2010] */ #include #include 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 + * Written by Karel Zak [2011] */ #include #include