From: Jim Meyering Date: Sat, 25 Oct 2008 20:51:54 +0000 (+0200) Subject: factor: avoid compilation failure without libgmp X-Git-Tag: v7.1~155 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=153477479abd5b4dfda5feb109e3ebf28a578bad;p=thirdparty%2Fcoreutils.git factor: avoid compilation failure without libgmp * src/factor.c (debug) [!HAVE_GMP]: Define. Reported by Bob Proulx. --- diff --git a/src/factor.c b/src/factor.c index 8ccefd576c..187143a0ac 100644 --- a/src/factor.c +++ b/src/factor.c @@ -257,6 +257,14 @@ S4: mpz_clear (x); mpz_clear (y); } + +#else + +static void +debug (char const *fmt ATTRIBUTE_UNUSED, ...) +{ +} + #endif /* The maximum number of factors, including -1, for negative numbers. */