X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fstrtod.c;h=83b858ae5e7cb23f0c4b1d1bb2ae1263b497be04;hb=911a49d5a609b5fcf803d38156eb793e864138a0;hp=61887598cab0543097841b015906ffe526747013;hpb=5b8b1c8feaac7087daef80a93beef761ff0e951f;p=gnulib.git diff --git a/lib/strtod.c b/lib/strtod.c index 61887598c..83b858ae5 100644 --- a/lib/strtod.c +++ b/lib/strtod.c @@ -45,7 +45,12 @@ locale_isspace (char c) #if !HAVE_LDEXP_IN_LIBC #define ldexp dummy_ldexp - static double ldexp (double x, int exponent) { return x + exponent; } + /* A dummy definition that will never be invoked. */ + static double ldexp (double x _GL_UNUSED, int exponent _GL_UNUSED) + { + abort (); + return 0.0; + } #endif /* Return X * BASE**EXPONENT. Return an extreme value and set errno