summaryrefslogtreecommitdiff
path: root/printf/doprnt.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 /printf/doprnt.c
parentcf6b3dd7ae4bd3ae91a2a23dcb40361ca2e52f98 (diff)
downloadgmp-fae4e36024f08ed96cb79195935f637bdfc9875b.tar.gz
Get rid of varargs code and references.
Diffstat (limited to 'printf/doprnt.c')
-rw-r--r--printf/doprnt.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/printf/doprnt.c b/printf/doprnt.c
index 2cb76726d..f8a5d5a96 100644
--- a/printf/doprnt.c
+++ b/printf/doprnt.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 glibc 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> /* for isdigit */
#include <stddef.h> /* for ptrdiff_t */
#include <string.h>