diff options
author | Torbjorn Granlund <tege@gmplib.org> | 2014-01-19 14:35:25 +0100 |
---|---|---|
committer | Torbjorn Granlund <tege@gmplib.org> | 2014-01-19 14:35:25 +0100 |
commit | fae4e36024f08ed96cb79195935f637bdfc9875b (patch) | |
tree | 2c13895a0b54eb7b6d6a5f815b65891acff34961 /demos | |
parent | cf6b3dd7ae4bd3ae91a2a23dcb40361ca2e52f98 (diff) | |
download | gmp-fae4e36024f08ed96cb79195935f637bdfc9875b.tar.gz |
Get rid of varargs code and references.
Diffstat (limited to 'demos')
-rw-r--r-- | demos/expr/README | 2 | ||||
-rw-r--r-- | demos/expr/expr-impl.h | 6 |
2 files changed, 2 insertions, 6 deletions
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 <ctype.h> 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 <stdarg.h> -#else -#define HAVE_STDARG 0 -#include <varargs.h> -#endif #include "expr.h" |