mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Be ANSI-C compliant when defining CX_LIMITED_RANGE #pragma
This mutes warnings with clang Approved by: rpaulo (mentor) Reviewed by: das, kargl (both as part of a larger patch) Phabric: D742 Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
parent
9d3ddf4384
commit
8a3fd30740
2 changed files with 2 additions and 2 deletions
|
|
@ -39,7 +39,7 @@ __FBSDID("$FreeBSD$");
|
|||
|
||||
#include "test-utils.h"
|
||||
|
||||
#pragma STDC CX_LIMITED_RANGE off
|
||||
#pragma STDC CX_LIMITED_RANGE OFF
|
||||
|
||||
/* Make sure gcc doesn't use builtin versions of these or honor __pure2. */
|
||||
static float complex (*libconjf)(float complex) = conjf;
|
||||
|
|
|
|||
|
|
@ -62,7 +62,7 @@ _csqrt(long double complex d)
|
|||
return (csqrt((double complex)d));
|
||||
}
|
||||
|
||||
#pragma STDC CX_LIMITED_RANGE off
|
||||
#pragma STDC CX_LIMITED_RANGE OFF
|
||||
|
||||
/*
|
||||
* Compare d1 and d2 using special rules: NaN == NaN and +0 != -0.
|
||||
|
|
|
|||
Loading…
Reference in a new issue