summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2021-04-24 12:06:03 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2021-04-24 12:06:03 +0200
commit121b02d6b6c9f276e7f8da560e5996d3e389cd63 (patch)
treecc74bce6e7c6e15e68d69e703092a12a609c80b5
parent6ca36077ccde12f4b1e4d730b06284d18c20ac0e (diff)
inetd: deinline machtime() - gcc gets it wrong
function old new delta machtime - 24 +24 machtime_stream 45 29 -16 machtime_dg 114 97 -17 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 0/2 up/down: 24/-33) Total: -9 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--networking/inetd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/inetd.c b/networking/inetd.c
index febfb7b73..e5352a555 100644
--- a/networking/inetd.c
+++ b/networking/inetd.c
@@ -1697,7 +1697,7 @@ static void FAST_FUNC chargen_dg(int s, servtab_t *sep)
* we must add 2208988800 seconds to this figure to make up for
* some seventy years Bell Labs was asleep.
*/
-static uint32_t machtime(void)
+static NOINLINE uint32_t machtime(void)
{
struct timeval tv;