From: Karel Zak Date: Mon, 13 Jan 2020 09:39:52 +0000 (+0100) Subject: include: add some missing licence stuff to header files X-Git-Tag: v2.35~26 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=40f8c5e47e4cf42da77e4040039100959460aca4;p=thirdparty%2Futil-linux.git include: add some missing licence stuff to header files 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 CC: Sami Kerola CC: Ruediger Meier --- diff --git a/include/c.h b/include/c.h index 94b0c3681d..8126928859 100644 --- a/include/c.h +++ b/include/c.h @@ -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 diff --git a/include/monotonic.h b/include/monotonic.h index 296173ecec..7a69d9e4b5 100644 --- a/include/monotonic.h +++ b/include/monotonic.h @@ -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 diff --git a/include/namespace.h b/include/namespace.h index 9dbe88aa07..c48602d70c 100644 --- a/include/namespace.h +++ b/include/namespace.h @@ -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 diff --git a/lib/mangle.c b/lib/mangle.c index 87802fbda0..1a3b89ae48 100644 --- a/lib/mangle.c +++ b/lib/mangle.c @@ -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 */ diff --git a/lib/monotonic.c b/lib/monotonic.c index 96ead1ee0d..b684d8dd65 100644 --- a/lib/monotonic.c +++ b/lib/monotonic.c @@ -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 #include