[tz] [PROPOSED 0/5] Finish off support for C23 standard attributes
Paul Eggert
eggert at cs.ucla.edu
Mon Nov 21 18:36:38 UTC 2022
The attached patches update tzcode to use the remaining C23 standard
attributes that look useful for tzcode. I don't see any tzcode use for
the C23 attributes 'deprecated' and 'nodiscard'.
Paul Eggert (5):
Use C23 [[noreturn]] if available
Pacify gcc -std=c89 -pedantic with new attributes
Use C23 [[reproducible]] if available.
Use C23 [[unsequenced]] if available
Use C23 [[fallthrough]] if available
Makefile | 2 +-
date.c | 2 +-
localtime.c | 4 +--
private.h | 77 ++++++++++++++++++++++++++++++++++++++++++++---------
zdump.c | 10 +++----
zic.c | 32 +++++++++++-----------
6 files changed, 90 insertions(+), 37 deletions(-)
--
2.37.2
More information about the tz
mailing list