summaryrefslogtreecommitdiff
path: root/gmp-h.in
diff options
context:
space:
mode:
authorTorbjorn Granlund <tege@gmplib.org>2014-01-19 14:35:25 +0100
committerTorbjorn Granlund <tege@gmplib.org>2014-01-19 14:35:25 +0100
commitfae4e36024f08ed96cb79195935f637bdfc9875b (patch)
tree2c13895a0b54eb7b6d6a5f815b65891acff34961 /gmp-h.in
parentcf6b3dd7ae4bd3ae91a2a23dcb40361ca2e52f98 (diff)
downloadgmp-fae4e36024f08ed96cb79195935f637bdfc9875b.tar.gz
Get rid of varargs code and references.
Diffstat (limited to 'gmp-h.in')
-rw-r--r--gmp-h.in10
1 files changed, 4 insertions, 6 deletions
diff --git a/gmp-h.in b/gmp-h.in
index 93ad78953..94dccb07a 100644
--- a/gmp-h.in
+++ b/gmp-h.in
@@ -268,16 +268,14 @@ typedef __mpq_struct *mpq_ptr;
#define _GMP_H_HAVE_OBSTACK 1
#endif
-/* The prototypes for gmp_vprintf etc are provided only if va_list is
- available, via an application having included <stdarg.h> or <varargs.h>.
- Usually va_list is a typedef so can't be tested directly, but C99
- specifies that va_start is a macro (and it was normally a macro on past
- systems too), so look for that.
+/* The prototypes for gmp_vprintf etc are provided only if va_list is defined,
+ via an application having included <stdarg.h>. Usually va_list is a typedef
+ so can't be tested directly, but C99 specifies that va_start is a macro.
<stdio.h> will define some sort of va_list for vprintf and vfprintf, but
let's not bother trying to use that since it's not standard and since
application uses for gmp_vprintf etc will almost certainly require the
- whole <stdarg.h> or <varargs.h> anyway. */
+ whole <stdarg.h> anyway. */
#ifdef va_start
#define _GMP_H_HAVE_VA_LIST 1