tzset: Remove __attribute_noinline__ from compute_offset

After commit 42261ad731,
compute_offset is only called once, so not inlining it
increases executable size.
This commit is contained in:
Florian Weimer 2017-03-03 09:06:54 +01:00
parent a10e9c4e53
commit b2f3c0c208
2 changed files with 4 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2017-03-03 Florian Weimer <fweimer@redhat.com>
* time/tzset.c (compute_offset): Remove __attribute_noinline__.
2017-03-02 Florian Weimer <fweimer@redhat.com>
* elf/get-dynamic-info.h: Remove header file inclusion guard.

View File

@ -168,7 +168,6 @@ update_vars (void)
static unsigned int
__attribute_noinline__
compute_offset (unsigned int ss, unsigned int mm, unsigned int hh)
{
return min (ss, 59) + min (mm, 59) * 60 + min (hh, 24) * 60 * 60;