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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Replace them with a "Written by" or "Authors:" label.

Signed-off-by: Benno Schulenberg <bensberg@xxxxxxxxxx>
---
 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@xxxxxxxxxx>
+ * Written by Karel Zak <kzak@xxxxxxxxxx> [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@xxxxxxxxxx>
+ * Written by Karel Zak <kzak@xxxxxxxxxx> [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@xxxxxxxxxx>
+ * Written by Karel Zak <kzak@xxxxxxxxxx> [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@xxxxxxxxxx>
+ * Written by Karel Zak <kzak@xxxxxxxxxx> [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@xxxxxxxxxx>
+ * Written by Karel Zak <kzak@xxxxxxxxxx> [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@xxxxxxxxxx>
+ * Written by Karel Zak <kzak@xxxxxxxxxx> [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@xxxxxxxxxx>
+ * Written by Karel Zak <kzak@xxxxxxxxxx> [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@xxxxxxxxxx>
+ * Written by Karel Zak <kzak@xxxxxxxxxx> [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@xxxxxxxxxx>
- * Copyright (C) 2010 Davidlohr Bueso <dave@xxxxxxx>
- *
  * No copyright is claimed.  This code is in the public domain; do with
  * it what you wish.
+ *
+ * Authors: Karel Zak <kzak@xxxxxxxxxx> [2010]
+ *          Davidlohr Bueso <dave@xxxxxxx> [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@xxxxxxxxxx>
+ * Written by Karel Zak <kzak@xxxxxxxxxx> [2011]
  */
 #include <ctype.h>
 #include <libgen.h>
-- 
2.48.1





[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux