]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
hwclock: add SPDX-License-Identifier(s)
authorKarel Zak <kzak@redhat.com>
Fri, 8 Nov 2019 10:12:13 +0000 (11:12 +0100)
committerKarel Zak <kzak@redhat.com>
Fri, 8 Nov 2019 10:12:13 +0000 (11:12 +0100)
Signed-off-by: Karel Zak <kzak@redhat.com>
sys-utils/hwclock-cmos.c
sys-utils/hwclock-parse-date.y
sys-utils/hwclock-rtc.c
sys-utils/hwclock.c

index 4d3e023d9e84cea7301cdcbaee1ecd33b1c26176..56ee624736260caf519c4113f415f65b403a6866 100644 (file)
@@ -1,4 +1,6 @@
 /*
+ * SPDX-License-Identifier: GPL-2.0-or-later
+ *
  * i386 CMOS starts out with 14 bytes clock data alpha has something
  * similar, but with details depending on the machine type.
  *
index df95e16b71a24e999d61f41fcfd3c948eb0ad38b..b86eadc8ac74dd1fbe87a56c8ef3272184fbbe8f 100644 (file)
@@ -1,5 +1,7 @@
 %{
 /**
+ * SPDX-License-Identifier: GPL-3.0-or-later
+ *
  * Parse a string into an internal timestamp.
  *
  * This file is based on gnulib parse-datetime.y-dd7a871 with
index 8c75bd40fab962eb619426495f601c0af89d5b2e..0caf6be1045a6323e7ff24f659edeed883e9299b 100644 (file)
@@ -1,4 +1,6 @@
 /*
+ * SPDX-License-Identifier: GPL-2.0-or-later
+ *
  * rtc.c - Use /dev/rtc for clock access
  */
 #include <asm/ioctl.h>
index 695a3a55f126982b49e0485c2264bf2dded5a83f..15fc19afd509373d24e48d8134b5fad5206f0391 100644 (file)
@@ -1,5 +1,9 @@
 /*
- * hwclock.c
+ * SPDX-License-Identifier: GPL-2.0-or-later
+ *
+ * Since 7a3000f7ba548cf7d74ac77cc63fe8de228a669e (v2.30) hwclock is linked
+ * with parse_date.y from gnullib. This gnulib code is distributed with GPLv3.
+ *
  *
  * clock.c was written by Charles Hedrick, hedrick@cs.rutgers.edu, Apr 1992
  * Modified for clock adjustments - Rob Hooft <hooft@chem.ruu.nl>, Nov 1992
@@ -24,7 +28,7 @@
  * Change of local time handling, Stefan Ring <e9725446@stud3.tuwien.ac.at>
  * Change of adjtime handling, James P. Rutledge <ao112@rgfn.epcc.edu>.
  *
- * Distributed under GPL
+ *
  */
 /*
  * Explanation of `adjusting' (Rob Hooft):