mirror of
https://https.git.savannah.gnu.org/git/gnulib.git
synced 2026-04-28 06:33:36 +00:00
trunc-tests: pacify -Wmissing-prototypes
* tests/test-trunc2.c (trunc_reference): Now static.
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
2026-01-13 Paul Eggert <eggert@cs.ucla.edu>
|
||||
|
||||
trunc-tests: pacify -Wmissing-prototypes
|
||||
* tests/test-trunc2.c (trunc_reference): Now static.
|
||||
|
||||
stdcountof-h-tests: pacify -Wnested-externs
|
||||
* tests/test-stdcountof-h.c (test_func): Use top-level non-constant.
|
||||
|
||||
|
||||
@@ -58,7 +58,7 @@ static const DOUBLE TWO_MANT_DIG =
|
||||
* (DOUBLE) (1U << ((MANT_DIG - 1 + 3) / 5))
|
||||
* (DOUBLE) (1U << ((MANT_DIG - 1 + 4) / 5));
|
||||
|
||||
DOUBLE
|
||||
static DOUBLE
|
||||
trunc_reference (DOUBLE x)
|
||||
{
|
||||
/* The use of 'volatile' guarantees that excess precision bits are dropped
|
||||
|
||||
Reference in New Issue
Block a user