summaryrefslogtreecommitdiff
path: root/demos/expr/exprf.c
diff options
context:
space:
mode:
Diffstat (limited to 'demos/expr/exprf.c')
-rw-r--r--demos/expr/exprf.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/demos/expr/exprf.c b/demos/expr/exprf.c
index 405fd76a0..b28dbfd61 100644
--- a/demos/expr/exprf.c
+++ b/demos/expr/exprf.c
@@ -93,27 +93,12 @@ const struct mpexpr_operator_t * const mpf_expr_standard_table
int
-#if HAVE_STDARG
mpf_expr (mpf_ptr res, int base, const char *e, ...)
-#else
-mpf_expr (va_alist)
- va_dcl
-#endif
{
mpf_srcptr var[MPEXPR_VARIABLES];
va_list ap;
int ret;
-#if HAVE_STDARG
va_start (ap, e);
-#else
- mpf_ptr res;
- int base;
- const char *e;
- va_start (ap);
- res = va_arg (ap, mpf_ptr);
- base = va_arg (ap, int);
- e = va_arg (ap, const char *);
-#endif
TRACE (printf ("mpf_expr(): base %d, %s\n", base, e));
ret = mpexpr_va_to_var ((void **) var, ap);