]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
lib: add missing headers to .c files
authorKarel Zak <kzak@redhat.com>
Tue, 6 Oct 2020 13:03:45 +0000 (15:03 +0200)
committerKarel Zak <kzak@redhat.com>
Fri, 13 Nov 2020 11:13:43 +0000 (12:13 +0100)
Signed-off-by: Karel Zak <kzak@redhat.com>
lib/env.c
lib/fileutils.c
lib/linux_version.c
lib/pwdutils.c
lib/swapprober.c
lib/timer.c

index 301b332b473a7f71c79148f7525fe355cee28268..91c935cf6ef37677e84a3b736e8ffab05c82662f 100644 (file)
--- a/lib/env.c
+++ b/lib/env.c
@@ -1,10 +1,9 @@
 /*
- * Security checks of environment
- * Added from shadow-utils package
- * by Arkadiusz Miƛkiewicz <misiek@pld.ORG.PL>
+ * environ[] array cleanup code and getenv() wappers
  *
+ * No copyright is claimed.  This code is in the public domain; do with
+ * it what you wish.
  */
-
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
index 3ca43c1fb537ae6c0ea6d28b88d3fc177c81ac13..003f890f93262b9633985ca8a5bc498f8bd5e551 100644 (file)
@@ -1,7 +1,9 @@
 /*
+ * This code is in the public domain; do with it what you wish.
+ *
  * Copyright (C) 2012 Sami Kerola <kerolasa@iki.fi>
+ * Copyright (C) 2012-2020 Karel Zak <kzak@redhat.com>
  */
-
 #include <stdio.h>
 #include <stdlib.h>
 #include <sys/stat.h>
index 137bbe77e2509a8bb32cab10a14ef79b17604216..119869e5ec9ed89c40f266afe08dd658da3d523a 100644 (file)
@@ -1,3 +1,7 @@
+/*
+ * No copyright is claimed.  This code is in the public domain; do with
+ * it what you wish.
+ */
 #include <stdio.h>
 #include <sys/utsname.h>
 
index d5f4d2e232ddde8abae274b0dcf831f63f85af57..d97020cb9cd6e4b5bbc0e82fb8fbdbeb4abfcae6 100644 (file)
@@ -1,3 +1,7 @@
+/*
+ * No copyright is claimed.  This code is in the public domain; do with
+ * it what you wish.
+ */
 #include <stdlib.h>
 
 #include "c.h"
index aaf9ad0fa2ac863cdf18b96c0ba01201481e75b7..594496f2529cc0b9616bbfc5bfb631f13520698d 100644 (file)
@@ -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 <kzak@redhat.com>
+ */
 #include "c.h"
 #include "nls.h"
 
index c1ea54eb828d43b4c0d73cb076a37b2d3952a07d..cfa18f6fde6171420769a8a40aaffec8419dce0c 100644 (file)
@@ -1,4 +1,7 @@
 /*
+ * No copyright is claimed.  This code is in the public domain; do with
+ * it what you wish.
+ *
  * Please, don't add this file to libcommon because timers requires
  * -lrt on systems with old libc (and probably also -lpthread for static
  *  build).