Skip to content

Commit 22d30b1

Browse files
committed
trionan: TRIO_PRIVATE_NAN -> static
1 parent 9bc15f6 commit 22d30b1

File tree

1 file changed

+12
-15
lines changed

1 file changed

+12
-15
lines changed

trionan.c

Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,6 @@
6565
#if !defined(TRIO_PUBLIC_NAN)
6666
# define TRIO_PUBLIC_NAN TRIO_PUBLIC
6767
#endif
68-
#if !defined(TRIO_PRIVATE_NAN)
69-
# define TRIO_PRIVATE_NAN TRIO_PRIVATE
70-
#endif
7168
#if !defined(TRIO_INLINE_NAN)
7269
# define TRIO_INLINE_NAN TRIO_INLINE
7370
#endif
@@ -317,7 +314,7 @@ typedef void (*signal_handler_t) TRIO_PROTO((int));
317314
* internal_ignore_signal_handler
318315
*/
319316

320-
TRIO_PRIVATE_NAN signal_handler_t
317+
static signal_handler_t
321318
internal_ignore_signal_handler
322319
TRIO_ARGS1((signum),
323320
int signum)
@@ -337,7 +334,7 @@ TRIO_ARGS1((signum),
337334
/*
338335
* internal_restore_signal_handler
339336
*/
340-
TRIO_PRIVATE_NAN void
337+
static void
341338
internal_restore_signal_handler
342339
TRIO_ARGS2((signum, handler),
343340
int signum,
@@ -357,7 +354,7 @@ TRIO_ARGS2((signum, handler),
357354
*/
358355
#if defined(TRIO_FUNC_INTERNAL_MAKE_DOUBLE)
359356

360-
TRIO_PRIVATE_NAN double
357+
static double
361358
internal_make_double
362359
TRIO_ARGS1((values),
363360
TRIO_CONST unsigned char *values)
@@ -378,7 +375,7 @@ TRIO_ARGS1((values),
378375
*/
379376
#if defined(TRIO_FUNC_INTERNAL_IS_SPECIAL_QUANTITY)
380377

381-
TRIO_PRIVATE_NAN int
378+
static int
382379
internal_is_special_quantity
383380
TRIO_ARGS2((number, has_mantissa),
384381
double number,
@@ -406,7 +403,7 @@ TRIO_ARGS2((number, has_mantissa),
406403
*/
407404
#if defined(TRIO_FUNC_INTERNAL_IS_NEGATIVE)
408405

409-
TRIO_PRIVATE_NAN int
406+
static int
410407
internal_is_negative
411408
TRIO_ARGS1((number),
412409
double number)
@@ -425,7 +422,7 @@ TRIO_ARGS1((number),
425422

426423
#if defined(TRIO_FUNC_C99_FPCLASSIFY_AND_SIGNBIT)
427424

428-
TRIO_PRIVATE_NAN int
425+
static int
429426
c99_fpclassify_and_signbit
430427
TRIO_ARGS2((number, is_negative),
431428
double number,
@@ -450,7 +447,7 @@ TRIO_ARGS2((number, is_negative),
450447

451448
#if defined(TRIO_FUNC_DECC_FPCLASSIFY_AND_SIGNBIT)
452449

453-
TRIO_PRIVATE_NAN TRIO_INLINE_NAN int
450+
static TRIO_INLINE_NAN int
454451
decc_fpclassify_and_signbit
455452
TRIO_ARGS2((number, is_negative),
456453
double number,
@@ -495,7 +492,7 @@ TRIO_ARGS2((number, is_negative),
495492

496493
#if defined(TRIO_FUNC_MS_FPCLASSIFY_AND_SIGNBIT)
497494

498-
TRIO_PRIVATE_NAN int
495+
static int
499496
ms_fpclassify_and_signbit
500497
TRIO_ARGS2((number, is_negative),
501498
double number,
@@ -568,7 +565,7 @@ TRIO_ARGS2((number, is_negative),
568565

569566
#if defined(TRIO_FUNC_HP_FPCLASSIFY_AND_SIGNBIT)
570567

571-
TRIO_PRIVATE_NAN TRIO_INLINE_NAN int
568+
static TRIO_INLINE_NAN int
572569
hp_fpclassify_and_signbit
573570
TRIO_ARGS2((number, is_negative),
574571
double number,
@@ -617,7 +614,7 @@ TRIO_ARGS2((number, is_negative),
617614

618615
#if defined(TRIO_FUNC_XLC_FPCLASSIFY_AND_SIGNBIT)
619616

620-
TRIO_PRIVATE_NAN TRIO_INLINE_NAN int
617+
static TRIO_INLINE_NAN int
621618
xlc_fpclassify_and_signbit
622619
TRIO_ARGS2((number, is_negative),
623620
double number,
@@ -671,7 +668,7 @@ TRIO_ARGS2((number, is_negative),
671668

672669
#if defined(TRIO_FUNC_INTERNAL_ISNAN)
673670

674-
TRIO_PRIVATE_NAN TRIO_INLINE int
671+
static TRIO_INLINE int
675672
internal_isnan
676673
TRIO_ARGS1((number),
677674
double number)
@@ -735,7 +732,7 @@ TRIO_ARGS1((number),
735732

736733
#if defined(TRIO_FUNC_INTERNAL_ISINF)
737734

738-
TRIO_PRIVATE_NAN TRIO_INLINE int
735+
static TRIO_INLINE int
739736
internal_isinf
740737
TRIO_ARGS1((number),
741738
double number)

0 commit comments

Comments
 (0)