From a14c0668720dcafde3f60b7659a01d99ec693a41 Mon Sep 17 00:00:00 2001 From: Adam Weinberger Date: Mon, 28 Jul 2014 23:33:47 +0000 Subject: Rename math/ patch-xy patches to reflect the files they modify. --- math/eval/files/patch-eval.h | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 math/eval/files/patch-eval.h (limited to 'math/eval/files/patch-eval.h') diff --git a/math/eval/files/patch-eval.h b/math/eval/files/patch-eval.h new file mode 100644 index 000000000000..84b35dd51993 --- /dev/null +++ b/math/eval/files/patch-eval.h @@ -0,0 +1,33 @@ +--- /tmp/Eval/source/eval.h Tue Apr 13 21:04:44 1993 ++++ eval.h Wed Mar 16 04:26:57 1994 +@@ -55,6 +55,8 @@ + #define MAXINPUT 160 + #define NUMFUNCS 30 + #define MAXFLEN 6 ++#define MAXALEN 3 ++#define MAXDLEN 80 + #define SCRWIDTH 80 + #define MAXARGS 10 + #define EOS '\0' +@@ -115,6 +117,12 @@ + char type; + int code; + } TOKEN, *TOKENPTR; ++typedef struct { ++ int id; ++ char name[MAXFLEN+1]; ++ char argspec[MAXALEN+1]; ++ char desc[MAXDLEN+1]; ++ } FUNC, *FUNCPTR; + + /* Function definitions */ + +@@ -131,6 +139,8 @@ + char *func_name (int); + int func_nargs (int); + int print_funclist (FILE *s,char *input,int d); ++ ++extern FUNC flist[]; + + /* ----- PARSE.C functions -------------------------------------------- */ + -- cgit v1.2.3