summaryrefslogtreecommitdiff
path: root/scanf/sscanf.c
diff options
context:
space:
mode:
Diffstat (limited to 'scanf/sscanf.c')
-rw-r--r--scanf/sscanf.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/scanf/sscanf.c b/scanf/sscanf.c
index aeb31d06c..4de838856 100644
--- a/scanf/sscanf.c
+++ b/scanf/sscanf.c
@@ -17,14 +17,7 @@ License for more details.
You should have received a copy of the GNU Lesser General Public License
along with the GNU MP Library. If not, see https://www.gnu.org/licenses/. */
-#include "config.h"
-
-#if HAVE_STDARG
#include <stdarg.h>
-#else
-#include <varargs.h>
-#endif
-
#include <stdio.h>
#include "gmp.h"
@@ -32,24 +25,11 @@ along with the GNU MP Library. If not, see https://www.gnu.org/licenses/. */
int
-#if HAVE_STDARG
gmp_sscanf (const char *s, const char *fmt, ...)
-#else
-gmp_sscanf (va_alist)
- va_dcl
-#endif
{
va_list ap;
int ret;
-#if HAVE_STDARG
va_start (ap, fmt);
-#else
- const char *s;
- const char *fmt;
- va_start (ap);
- s = va_arg (ap, const char *);
- fmt = va_arg (ap, const char *);
-#endif
#if SSCANF_WRITABLE_INPUT
/* let gmp_vsscanf handle the copying */