summaryrefslogtreecommitdiff
path: root/mpq
diff options
context:
space:
mode:
Diffstat (limited to 'mpq')
-rw-r--r--mpq/clears.c18
-rw-r--r--mpq/inits.c18
2 files changed, 0 insertions, 36 deletions
diff --git a/mpq/clears.c b/mpq/clears.c
index 2070352bb..c5d8a4d7a 100644
--- a/mpq/clears.c
+++ b/mpq/clears.c
@@ -17,35 +17,17 @@ 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> /* for NULL */
#include "gmp.h"
#include "gmp-impl.h"
void
-#if HAVE_STDARG
mpq_clears (mpq_ptr x, ...)
-#else
-mpq_clears (va_alist)
- va_dcl
-#endif
{
va_list ap;
-#if HAVE_STDARG
va_start (ap, x);
-#else
- mpq_ptr x;
- va_start (ap);
- x = va_arg (ap, mpq_ptr);
-#endif
while (x != NULL)
{
diff --git a/mpq/inits.c b/mpq/inits.c
index a44794e37..c4dd58261 100644
--- a/mpq/inits.c
+++ b/mpq/inits.c
@@ -17,35 +17,17 @@ 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> /* for NULL */
#include "gmp.h"
#include "gmp-impl.h"
void
-#if HAVE_STDARG
mpq_inits (mpq_ptr x, ...)
-#else
-mpq_inits (va_alist)
- va_dcl
-#endif
{
va_list ap;
-#if HAVE_STDARG
va_start (ap, x);
-#else
- mpq_ptr x;
- va_start (ap);
- x = va_arg (ap, mpq_ptr);
-#endif
while (x != NULL)
{