From fae4e36024f08ed96cb79195935f637bdfc9875b Mon Sep 17 00:00:00 2001 From: Torbjorn Granlund Date: Sun, 19 Jan 2014 14:35:25 +0100 Subject: Get rid of varargs code and references. --- demos/expr/README | 2 +- demos/expr/expr-impl.h | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) (limited to 'demos') diff --git a/demos/expr/README b/demos/expr/README index ea67992da..c1e71ee5e 100644 --- a/demos/expr/README +++ b/demos/expr/README @@ -90,7 +90,7 @@ hex when base==0. White space, as indicated by isspace(), is ignored except for the purpose of separating tokens. -Variables can be included in expressions by putting them in the varargs list +Variables can be included in expressions by putting them in the stdarg list after the string. "a", "b", "c" etc in the expression string designate those values. For example, diff --git a/demos/expr/expr-impl.h b/demos/expr/expr-impl.h index 76d7b5a47..ee61d3eec 100644 --- a/demos/expr/expr-impl.h +++ b/demos/expr/expr-impl.h @@ -26,12 +26,8 @@ along with the GNU MP Library. If not, see https://www.gnu.org/licenses/. */ || (defined (__mips) && defined (_SYSTYPE_SVR4)) \ || defined (_MSC_VER) \ || defined (_WIN32) -#define HAVE_STDARG 1 + #include -#else -#define HAVE_STDARG 0 -#include -#endif #include "expr.h" -- cgit v1.2.1