]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
include: add some missing licence stuff to header files
authorKarel Zak <kzak@redhat.com>
Mon, 13 Jan 2020 09:39:52 +0000 (10:39 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 13 Jan 2020 09:39:52 +0000 (10:39 +0100)
It's mostly wrappers for compatibility and another trivial stuff etc.
Let's keep it as public domain to make it more portable to LGPL, GPL
and BSD code.

Signed-off-by: Karel Zak <kzak@redhat.com>
CC: Sami Kerola <kerolasa@iki.fi>
CC: Ruediger Meier <ruediger.meier@ga-group.nl>
include/c.h
include/monotonic.h
include/namespace.h
lib/mangle.c
lib/monotonic.c

index 94b0c3681dd15634c651a10f2c676f2591adc9ec..8126928859b90f51f7c3ff3a51c4e8b5d0e2504c 100644 (file)
@@ -1,7 +1,9 @@
 /*
  * Fundamental C definitions.
+ *
+ * No copyright is claimed.  This code is in the public domain; do with
+ * it what you wish.
  */
-
 #ifndef UTIL_LINUX_C_H
 #define UTIL_LINUX_C_H
 
index 296173ecec3dc61711365a3ad9afb799b9b511fb..7a69d9e4b51e86d38bc3ade889eebe37edb3c7b8 100644 (file)
@@ -1,3 +1,7 @@
+/*
+ * No copyright is claimed.  This code is in the public domain; do with
+ * it what you wish.
+ */
 #ifndef UTIL_LINUX_MONOTONIC_H
 #define UTIL_LINUX_MONOTONIC_H
 
index 9dbe88aa07f82fc559424fa09c0368ebfb91f56e..c48602d70c6119b41e62aca31db8007e54bfa5ab 100644 (file)
@@ -1,4 +1,10 @@
-/* Compat code so unshare and setns can be used with older libcs */
+
+/*
+ * No copyright is claimed.  This code is in the public domain; do with
+ * it what you wish.
+ *
+ * Compat code so unshare and setns can be used with older libcs
+ */
 #ifndef UTIL_LINUX_NAMESPACE_H
 # define UTIL_LINUX_NAMESPACE_H
 
index 87802fbda0151058e3feca5bd1ed11a2f9e46db5..1a3b89ae488848d6b14a29ad2659f427bdbdda85 100644 (file)
@@ -1,7 +1,8 @@
 /*
  * Functions for \oct encoding used in mtab/fstab/swaps/etc.
  *
- * Based on code from mount(8).
+ * No copyright is claimed.  This code is in the public domain; do with
+ * it what you wish.
  *
  * Copyright (C) 2010 Karel Zak <kzak@redhat.com>
  */
index 96ead1ee0d7aebe2fa6fe3178f4409218b5b0747..b684d8dd650a85a6c5a74c0f15c318905eb87c10 100644 (file)
@@ -1,6 +1,9 @@
 /*
  * Please, don't add this file to libcommon because clock_gettime() requires
  * -lrt on systems with old libc.
+ *
+ * No copyright is claimed.  This code is in the public domain; do with
+ * it what you wish.
  */
 #include <time.h>
 #include <signal.h>