summaryrefslogtreecommitdiff
path: root/math/eval/files/patch-ad
diff options
context:
space:
mode:
authorMatthew Hunt <mph@FreeBSD.org>1998-04-26 03:25:11 +0000
committerMatthew Hunt <mph@FreeBSD.org>1998-04-26 03:25:11 +0000
commit50db84abd37e97f7cbbfbed00f9ab3f3240ee0e3 (patch)
tree90e6070b2a800afe8f93647724540a734eb5abef /math/eval/files/patch-ad
parentportlint. (diff)
Import of Eval v113, a command-line based floating-point calculator.
PR: 4979 Submitted by: Slaven Rezic <eserte@cs.tu-berlin.de>
Notes
Notes: svn path=/head/; revision=10680
Diffstat (limited to '')
-rw-r--r--math/eval/files/patch-ad28
1 files changed, 28 insertions, 0 deletions
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" },