From: Karel Zak Date: Fri, 8 Nov 2019 10:12:13 +0000 (+0100) Subject: hwclock: add SPDX-License-Identifier(s) X-Git-Tag: v2.35-rc1~65 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=68a2ade7eddb892f875cc330732b1dd7685e6756;p=thirdparty%2Futil-linux.git hwclock: add SPDX-License-Identifier(s) Signed-off-by: Karel Zak --- diff --git a/sys-utils/hwclock-cmos.c b/sys-utils/hwclock-cmos.c index 4d3e023d9e..56ee624736 100644 --- a/sys-utils/hwclock-cmos.c +++ b/sys-utils/hwclock-cmos.c @@ -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. * diff --git a/sys-utils/hwclock-parse-date.y b/sys-utils/hwclock-parse-date.y index df95e16b71..b86eadc8ac 100644 --- a/sys-utils/hwclock-parse-date.y +++ b/sys-utils/hwclock-parse-date.y @@ -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 diff --git a/sys-utils/hwclock-rtc.c b/sys-utils/hwclock-rtc.c index 8c75bd40fa..0caf6be104 100644 --- a/sys-utils/hwclock-rtc.c +++ b/sys-utils/hwclock-rtc.c @@ -1,4 +1,6 @@ /* + * SPDX-License-Identifier: GPL-2.0-or-later + * * rtc.c - Use /dev/rtc for clock access */ #include diff --git a/sys-utils/hwclock.c b/sys-utils/hwclock.c index 695a3a55f1..15fc19afd5 100644 --- a/sys-utils/hwclock.c +++ b/sys-utils/hwclock.c @@ -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 , Nov 1992 @@ -24,7 +28,7 @@ * Change of local time handling, Stefan Ring * Change of adjtime handling, James P. Rutledge . * - * Distributed under GPL + * */ /* * Explanation of `adjusting' (Rob Hooft):