From 50db84abd37e97f7cbbfbed00f9ab3f3240ee0e3 Mon Sep 17 00:00:00 2001 From: Matthew Hunt Date: Sun, 26 Apr 1998 03:25:11 +0000 Subject: Import of Eval v113, a command-line based floating-point calculator. PR: 4979 Submitted by: Slaven Rezic --- math/eval/files/patch-ad | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 math/eval/files/patch-ad (limited to 'math/eval/files/patch-ad') diff --git a/math/eval/files/patch-ad b/math/eval/files/patch-ad new file mode 100644 index 000000000000..f8946bc9062e --- /dev/null +++ b/math/eval/files/patch-ad @@ -0,0 +1,28 @@ +--- /tmp/Eval/source/funcs.c Tue Apr 13 21:04:40 1993 ++++ funcs.c Wed Mar 16 04:31:35 1994 +@@ -52,16 +52,6 @@ + + #include "eval.h" + +-#define MAXALEN 3 +-#define MAXDLEN 80 +- +-typedef struct { +- int id; +- char name[MAXFLEN+1]; +- char argspec[MAXALEN+1]; +- char desc[MAXDLEN+1]; +- } FUNC, *FUNCPTR; +- + #define ABSVAL 1 + #define ACOS 2 + #define ACOSH 3 +@@ -93,7 +83,7 @@ + #define TAN 29 + #define TANH 30 + +-static FUNC flist[NUMFUNCS] = ++FUNC flist[NUMFUNCS] = + { + {ABSVAL,"abs", "x", "absolute value" }, + {ACOS, "acos", "x", "arccosine, return value in radians" }, -- cgit v1.2.3