summaryrefslogtreecommitdiff
path: root/scanf/doscan.c
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 /scanf/doscan.c
parentcf6b3dd7ae4bd3ae91a2a23dcb40361ca2e52f98 (diff)
downloadgmp-fae4e36024f08ed96cb79195935f637bdfc9875b.tar.gz
Get rid of varargs code and references.
Diffstat (limited to 'scanf/doscan.c')
-rw-r--r--scanf/doscan.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/scanf/doscan.c b/scanf/doscan.c
index 08422ceb9..a340b9b90 100644
--- a/scanf/doscan.c
+++ b/scanf/doscan.c
@@ -23,14 +23,9 @@ along with the GNU MP Library. If not, see https://www.gnu.org/licenses/. */
#define _GNU_SOURCE /* for DECIMAL_POINT in langinfo.h */
-#include "config.h"
+#include "config.h" /* needed for the HAVE_, could also move gmp incls */
-#if HAVE_STDARG
#include <stdarg.h>
-#else
-#include <varargs.h>
-#endif
-
#include <ctype.h>
#include <stddef.h> /* for ptrdiff_t */
#include <stdio.h>