summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKarel Zak <kzak@redhat.com>2013-01-08 15:00:23 +0100
committerKarel Zak <kzak@redhat.com>2013-01-08 15:10:17 +0100
commit0f23ee0c855d686b0c315af2c96b8835134cd9e3 (patch)
tree3a766ba628aedbc64807d20b64abcb7139bf8d2c /include
parent1a1eb4e188e6db0995364166159d12f7b07d9016 (diff)
downloadutil-linux-0f23ee0c855d686b0c315af2c96b8835134cd9e3.tar.gz
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 <kzak@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/all-io.h8
-rw-r--r--include/bitops.h6
-rw-r--r--include/blkdev.h6
-rw-r--r--include/canonicalize.h11
-rw-r--r--include/cpuset.h4
-rw-r--r--include/list.h3
-rw-r--r--include/pamfail.h6
-rw-r--r--include/ttyutils.h6
8 files changed, 50 insertions, 0 deletions
diff --git a/include/all-io.h b/include/all-io.h
index 24875990..424ab7d3 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 <kzak@redhat.com>
+ * Petr Uzel <petr.uzel@suse.cz>
+ */
+
#ifndef UTIL_LINUX_ALL_IO_H
#define UTIL_LINUX_ALL_IO_H
diff --git a/include/bitops.h b/include/bitops.h
index 9738dd72..498ec63e 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 <kzak@redhat.com>
+ */
#ifndef BITOPS_H
#define BITOPS_H
diff --git a/include/blkdev.h b/include/blkdev.h
index 93586a0f..ade08878 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 <kzak@redhat.com>
+ */
#ifndef BLKDEV_H
#define BLKDEV_H
diff --git a/include/canonicalize.h b/include/canonicalize.h
index c1497380..7a18aca0 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 47ddfe2e..f8948a98 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 e9ed0c4c..7b606723 100644
--- a/include/list.h
+++ b/include/list.h
@@ -2,6 +2,9 @@
* Copyright (C) 2008 Karel Zak <kzak@redhat.com>
* 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 8008ce39..e102df22 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 <kzak@redhat.com>
+ */
#ifndef UTIL_LINUX_PAMFAIL_H
#include <security/pam_appl.h>
#include <security/pam_misc.h>
diff --git a/include/ttyutils.h b/include/ttyutils.h
index 76734617..3ed78835 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 <kzak@redhat.com>
+ */
#ifndef UTIL_LINUX_TTYUTILS_H
#define UTIL_LINUX_TTYUTILS_H