summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorKarel Zak2013-01-08 15:00:23 +0100
committerKarel Zak2013-01-08 15:10:17 +0100
commit0f23ee0c855d686b0c315af2c96b8835134cd9e3 (patch)
tree3a766ba628aedbc64807d20b64abcb7139bf8d2c /include
parentinclude/bitopts: Use the operating system byteswapping functions (diff)
downloadkernel-qcow2-util-linux-0f23ee0c855d686b0c315af2c96b8835134cd9e3.tar.gz
kernel-qcow2-util-linux-0f23ee0c855d686b0c315af2c96b8835134cd9e3.tar.xz
kernel-qcow2-util-linux-0f23ee0c855d686b0c315af2c96b8835134cd9e3.zip
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 248759908..424ab7d3f 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 9738dd726..498ec63e7 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 93586a0fb..ade08878d 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 c14973802..7a18aca09 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 47ddfe2ef..f8948a984 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 e9ed0c4cd..7b6067239 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 8008ce395..e102df227 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 767346172..3ed788359 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