Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/time put attributes first for c23 compliance.
details: https://anonhg.NetBSD.org/src/rev/9b411f56dbe6
branches: trunk
changeset: 373087:9b411f56dbe6
user: christos <christos%NetBSD.org@localhost>
date: Tue Jan 17 13:18:03 2023 +0000
description:
put attributes first for c23 compliance.
diffstat:
lib/libc/time/zic.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (35 lines):
diff -r fdf2e2fa3cca -r 9b411f56dbe6 lib/libc/time/zic.c
--- a/lib/libc/time/zic.c Tue Jan 17 01:56:43 2023 +0000
+++ b/lib/libc/time/zic.c Tue Jan 17 13:18:03 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: zic.c,v 1.88 2023/01/15 18:12:37 christos Exp $ */
+/* $NetBSD: zic.c,v 1.89 2023/01/17 13:18:03 christos Exp $ */
/*
** This file is in the public domain, so clarified as of
** 2006-07-17 by Arthur David Olson.
@@ -11,7 +11,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: zic.c,v 1.88 2023/01/15 18:12:37 christos Exp $");
+__RCSID("$NetBSD: zic.c,v 1.89 2023/01/17 13:18:03 christos Exp $");
#endif /* !defined lint */
/* Use the system 'time' function, instead of any private replacement.
@@ -3754,14 +3754,14 @@
return nsubs;
}
-static ATTRIBUTE_NORETURN void
+ATTRIBUTE_NORETURN static void
time_overflow(void)
{
error(_("time overflow"));
exit(EXIT_FAILURE);
}
-static ATTRIBUTE_REPRODUCIBLE zic_t
+ATTRIBUTE_REPRODUCIBLE static zic_t
oadd(zic_t t1, zic_t t2)
{
#ifdef ckd_add
Home |
Main Index |
Thread Index |
Old Index