summaryrefslogtreecommitdiffstats
path: root/math/eval/files/patch-funcs.c
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2014-07-28 23:33:47 +0000
committeradamw <adamw@FreeBSD.org>2014-07-28 23:33:47 +0000
commit9fa4bae1e4c4beab4f44b8bd0cc616f0aa304fbc (patch)
tree9c1a149bc961f7cd84b7aa93a2d61fec3d0f9685 /math/eval/files/patch-funcs.c
parente8fad2bb09a531ffe1cf6488357cb6d82bfded77 (diff)
downloadFreeBSD-ports-9fa4bae1e4c4beab4f44b8bd0cc616f0aa304fbc.zip
FreeBSD-ports-9fa4bae1e4c4beab4f44b8bd0cc616f0aa304fbc.tar.gz
Rename math/ patch-xy patches to reflect the files they modify.
Diffstat (limited to 'math/eval/files/patch-funcs.c')
-rw-r--r--math/eval/files/patch-funcs.c28
1 files changed, 28 insertions, 0 deletions
diff --git a/math/eval/files/patch-funcs.c b/math/eval/files/patch-funcs.c
new file mode 100644
index 0000000..f8946bc
--- /dev/null
+++ b/math/eval/files/patch-funcs.c
@@ -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" },
OpenPOWER on IntegriCloud