projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fec0e89
)
factor: avoid compilation failure without libgmp
author
Jim Meyering
<meyering@redhat.com>
Sat, 25 Oct 2008 20:51:54 +0000
(22:51 +0200)
committer
Jim Meyering
<meyering@redhat.com>
Sat, 25 Oct 2008 20:57:42 +0000
(22:57 +0200)
* src/factor.c (debug) [!HAVE_GMP]: Define.
Reported by Bob Proulx.
src/factor.c
patch
|
blob
|
history
diff --git
a/src/factor.c
b/src/factor.c
index
8ccefd5
..
187143a
100644
(file)
--- 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. */