diff options
author | Florian Weimer <fweimer@redhat.com> | 2017-03-03 09:06:54 +0100 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2017-03-03 09:06:54 +0100 |
commit | b2f3c0c208f73cf5c433ebb85aacf3284d9e47e6 (patch) | |
tree | bd786548320f52a750069e9a29db5e63c73015af /time/tzset.c | |
parent | a10e9c4e53fc652b79abf838f7f837589d2c84db (diff) | |
download | glibc-b2f3c0c208f73cf5c433ebb85aacf3284d9e47e6.tar.gz glibc-b2f3c0c208f73cf5c433ebb85aacf3284d9e47e6.tar.xz glibc-b2f3c0c208f73cf5c433ebb85aacf3284d9e47e6.zip |
tzset: Remove __attribute_noinline__ from compute_offset
After commit 42261ad731991df345880b0b509d83b0b9a9b9d8, compute_offset is only called once, so not inlining it increases executable size.
Diffstat (limited to 'time/tzset.c')
-rw-r--r-- | time/tzset.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/time/tzset.c b/time/tzset.c index eb420699c4..404f1db370 100644 --- a/time/tzset.c +++ b/time/tzset.c @@ -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; |