[Gmp-commit] /var/hg/gmp: 2 new changesets
mercurial at gmplib.org
mercurial at gmplib.org
Tue Jan 21 18:36:56 UTC 2014
details: /var/hg/gmp/rev/e9c5ede5b42d
changeset: 16242:e9c5ede5b42d
user: Marco Bodrato <bodrato at mail.dm.unipi.it>
date: Tue Jan 21 19:33:31 2014 +0100
description:
Get rid of varargs code and references.
details: /var/hg/gmp/rev/913a6d176e85
changeset: 16243:913a6d176e85
user: Marco Bodrato <bodrato at mail.dm.unipi.it>
date: Tue Jan 21 19:36:49 2014 +0100
description:
ChangeLog
diffstat:
ChangeLog | 4 ++++
acinclude.m4 | 11 -----------
2 files changed, 4 insertions(+), 11 deletions(-)
diffs (39 lines):
diff -r 49de87bf1021 -r 913a6d176e85 ChangeLog
--- a/ChangeLog Mon Jan 20 11:49:36 2014 +0100
+++ b/ChangeLog Tue Jan 21 19:36:49 2014 +0100
@@ -1,3 +1,7 @@
+2014-01-21 Marco Bodrato <bodrato at mail.dm.unipi.it>
+
+ * acinclude.m4 (GMP_FUNC_VSNPRINTF): Get rid of varargs.
+
2014-01-20 Torbjorn Granlund <tege at gmplib.org>
* mpn/x86_64/fat/fat.c (__gmpn_cpuvec_init): Fix duplicate entries for
diff -r 49de87bf1021 -r 913a6d176e85 acinclude.m4
--- a/acinclude.m4 Mon Jan 20 11:49:36 2014 +0100
+++ b/acinclude.m4 Tue Jan 21 19:36:49 2014 +0100
@@ -3670,24 +3670,13 @@
#include <stdarg.h>
int
-#if HAVE_STDARG
check (const char *fmt, ...)
-#else
-check (va_alist)
- va_dcl
-#endif
{
static char buf[128];
va_list ap;
int ret;
-#if HAVE_STDARG
va_start (ap, fmt);
-#else
- char *fmt;
- va_start (ap);
- fmt = va_arg (ap, char *);
-#endif
ret = vsnprintf (buf, 4, fmt, ap);
More information about the gmp-commit
mailing list