From: Karel Zak Date: Tue, 8 Jan 2013 14:00:23 +0000 (+0100) Subject: include: cleanup copyright headers X-Git-Tag: v2.23-rc1~380 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f23ee0c855d686b0c315af2c96b8835134cd9e3;p=thirdparty%2Futil-linux.git include: cleanup copyright headers We use the code from include/ and lib/ on many places, so use public domain if possible or LGPL for code copied from libs. Signed-off-by: Karel Zak --- diff --git a/include/all-io.h b/include/all-io.h index 248759908b..424ab7d3fc 100644 --- a/include/all-io.h +++ b/include/all-io.h @@ -1,3 +1,11 @@ +/* + * No copyright is claimed. This code is in the public domain; do with + * it what you wish. + * + * Written by Karel Zak + * Petr Uzel + */ + #ifndef UTIL_LINUX_ALL_IO_H #define UTIL_LINUX_ALL_IO_H diff --git a/include/bitops.h b/include/bitops.h index 9738dd7264..498ec63e7e 100644 --- a/include/bitops.h +++ b/include/bitops.h @@ -1,3 +1,9 @@ +/* + * No copyright is claimed. This code is in the public domain; do with + * it what you wish. + * + * Written by Karel Zak + */ #ifndef BITOPS_H #define BITOPS_H diff --git a/include/blkdev.h b/include/blkdev.h index 93586a0fb2..ade08878d0 100644 --- a/include/blkdev.h +++ b/include/blkdev.h @@ -1,3 +1,9 @@ +/* + * No copyright is claimed. This code is in the public domain; do with + * it what you wish. + * + * Written by Karel Zak + */ #ifndef BLKDEV_H #define BLKDEV_H diff --git a/include/canonicalize.h b/include/canonicalize.h index c149738029..7a18aca090 100644 --- a/include/canonicalize.h +++ b/include/canonicalize.h @@ -1,3 +1,14 @@ +/* + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU Library Public License as published by + * the Free Software Foundation; either version 2, or (at your option) + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Library Public License for more details. + */ #ifndef CANONICALIZE_H #define CANONICALIZE_H diff --git a/include/cpuset.h b/include/cpuset.h index 47ddfe2efb..f8948a984c 100644 --- a/include/cpuset.h +++ b/include/cpuset.h @@ -1,3 +1,7 @@ +/* + * This file may be redistributed under the terms of the + * GNU Lesser General Public License. + */ #ifndef UTIL_LINUX_CPUSET_H #define UTIL_LINUX_CPUSET_H diff --git a/include/list.h b/include/list.h index e9ed0c4cd3..7b60672390 100644 --- a/include/list.h +++ b/include/list.h @@ -2,6 +2,9 @@ * Copyright (C) 2008 Karel Zak * Copyright (C) 1999-2008 by Theodore Ts'o * + * This file may be redistributed under the terms of the + * GNU Lesser General Public License. + * * (based on list.h from e2fsprogs) * Merge sort based on kernel's implementation. */ diff --git a/include/pamfail.h b/include/pamfail.h index 8008ce395b..e102df227d 100644 --- a/include/pamfail.h +++ b/include/pamfail.h @@ -1,3 +1,9 @@ +/* + * No copyright is claimed. This code is in the public domain; do with + * it what you wish. + * + * Written by Karel Zak + */ #ifndef UTIL_LINUX_PAMFAIL_H #include #include diff --git a/include/ttyutils.h b/include/ttyutils.h index 7673461721..3ed7883597 100644 --- a/include/ttyutils.h +++ b/include/ttyutils.h @@ -1,3 +1,9 @@ +/* + * No copyright is claimed. This code is in the public domain; do with + * it what you wish. + * + * Written by Karel Zak + */ #ifndef UTIL_LINUX_TTYUTILS_H #define UTIL_LINUX_TTYUTILS_H diff --git a/lib/at.c b/lib/at.c index bbce516302..f8bfe13999 100644 --- a/lib/at.c +++ b/lib/at.c @@ -1,7 +1,10 @@ /* * Portable xxxat() functions. * - * Copyright (C) 2010 Karel Zak + * No copyright is claimed. This code is in the public domain; do with + * it what you wish. + * + * Written by Karel Zak */ #include #include diff --git a/lib/blkdev.c b/lib/blkdev.c index 9193b64e49..514082e34f 100644 --- a/lib/blkdev.c +++ b/lib/blkdev.c @@ -1,4 +1,9 @@ - +/* + * No copyright is claimed. This code is in the public domain; do with + * it what you wish. + * + * Written by Karel Zak + */ #include #include #include diff --git a/lib/cpuset.c b/lib/cpuset.c index 26b0a90b75..e5b6b9dfe1 100644 --- a/lib/cpuset.c +++ b/lib/cpuset.c @@ -7,6 +7,9 @@ * * Based on code from taskset.c and Linux kernel. * + * This file may be redistributed under the terms of the + * GNU Lesser General Public License. + * * Copyright (C) 2010 Karel Zak */ diff --git a/lib/loopdev.c b/lib/loopdev.c index c29cb85c51..a25a2fae41 100644 --- a/lib/loopdev.c +++ b/lib/loopdev.c @@ -1,5 +1,8 @@ /* - * Copyright (C) 2011 Karel Zak + * No copyright is claimed. This code is in the public domain; do with + * it what you wish. + * + * Written by Karel Zak * * -- based on mount/losetup.c * diff --git a/lib/randutils.c b/lib/randutils.c index 85cb1a99e1..80893d3db9 100644 --- a/lib/randutils.c +++ b/lib/randutils.c @@ -1,7 +1,11 @@ /* * General purpose random utilities + * + * Based on libuuid code. + * + * This file may be redistributed under the terms of the + * GNU Lesser General Public License. */ - #include #include #include diff --git a/lib/sysfs.c b/lib/sysfs.c index 3ac1fe0ca4..d14459b730 100644 --- a/lib/sysfs.c +++ b/lib/sysfs.c @@ -1,7 +1,9 @@ /* - * Copyright (C) 2011 Karel Zak + * No copyright is claimed. This code is in the public domain; do with + * it what you wish. + * + * Written by Karel Zak */ - #include #include "c.h" diff --git a/lib/ttyutils.c b/lib/ttyutils.c index 15d538946c..3b5a68cd85 100644 --- a/lib/ttyutils.c +++ b/lib/ttyutils.c @@ -1,4 +1,9 @@ - +/* + * No copyright is claimed. This code is in the public domain; do with + * it what you wish. + * + * Written by Karel Zak + */ #include #include "c.h" diff --git a/lib/wholedisk.c b/lib/wholedisk.c index 4a5305229a..1dbb90c5c0 100644 --- a/lib/wholedisk.c +++ b/lib/wholedisk.c @@ -1,4 +1,9 @@ - +/* + * No copyright is claimed. This code is in the public domain; do with + * it what you wish. + * + * Written by Karel Zak + */ #include #include #include