From 768d940fd9b25578f4c4041742558a7ce1bba0ce Mon Sep 17 00:00:00 2001
From: Balint Reczey <balint@balintreczey.hu>
Date: Wed, 20 Jul 2022 12:35:35 +0200
Subject: [PATCH 2/2] Simplify definition of c99_fpclassify_and_signbit to fix
 building with LTO

With C99 the inline keyword needs "static" as well if the function is defined
in only one translation unit.

See https://stackoverflow.com/questions/6312597/is-inline-without-static-or-extern-ever-useful-in-c99

Fixes: https://bugs.debian.org/1015528
---
 trionan.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/trionan.c b/trionan.c
index 796e978..7cb03aa 100644
--- a/trionan.c
+++ b/trionan.c
@@ -430,7 +430,7 @@ TRIO_ARGS1((number),
 
 #if defined(TRIO_FUNC_C99_FPCLASSIFY_AND_SIGNBIT)
 
-TRIO_PRIVATE_NAN TRIO_INLINE_NAN int
+static TRIO_INLINE_NAN int
 c99_fpclassify_and_signbit
 TRIO_ARGS2((number, is_negative),
 	   double number,
-- 
2.34.1

