]> Savannah Git Hosting - gnulib.git/commit
strftime: don't use __THROW
authorJim Meyering <meyering@fb.com>
Mon, 14 Nov 2016 02:15:36 +0000 (18:15 -0800)
committerJim Meyering <meyering@fb.com>
Tue, 15 Nov 2016 04:44:13 +0000 (20:44 -0800)
commitc3b131294aa42b7997cc9b9a0bbb2934aa27fd6c
tree6c15a6d38cb9ad7585b1ad1f82dcf202e5f3123a
parent9f623dc537adede7818aeddd68c53680fdfd2bb8
strftime: don't use __THROW

Each use of __THROW would provoke this from gcc-7-to-be:

  lib/strftime.c:371:1: warning: '__leaf__' attribute has no effect \
    on unit local functions [-Wattributes]
  static int iso_week_days (int, int) __THROW;
  ^~~~~~
* lib/strftime.c (__THROW): Don't define.
Remove each use of __THROW.
* lib/strftime.c (memcpy_lowcase, memcpy_uppcase): Remove __THROW.
(tm_diff, iso_week_days, __strftime_internal): Likewise.
ChangeLog
lib/strftime.c