mirror of git://sourceware.org/git/glibc.git
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:
parent
a10e9c4e53
commit
b2f3c0c208
|
@ -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.
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue