summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorqwell <qwell@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-06-11 22:13:34 +0000
committerqwell <qwell@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-06-11 22:13:34 +0000
commitf0b26d69fcc27eaa0e2d5610a7ca2ad876935c0d (patch)
treee7b51989f2d7f5cd11615343cf5f1f8df565b9e0
parent367c71d24f63ec3a756825f0be33054960e17424 (diff)
Merged revisions 2635 via svnmerge from
https://origsvn.digium.com/svn/zaptel/branches/1.4 ........ r2635 | qwell | 2007-06-11 17:12:27 -0500 (Mon, 11 Jun 2007) | 6 lines Remove a file from the tree that hasn't been used in a very long time. The last time this file changed was in revision 79. It is also not referenced anywhere in the tree, and doesn't even compile... Issue 9923, reported by tzafrir. ........ git-svn-id: http://svn.digium.com/svn/zaptel/trunk@2636 5390a7c7-147a-4af0-8ec9-7488f05a26cb
-rw-r--r--genconst.c34
1 files changed, 0 insertions, 34 deletions
diff --git a/genconst.c b/genconst.c
deleted file mode 100644
index 30a1d7d..0000000
--- a/genconst.c
+++ /dev/null
@@ -1,34 +0,0 @@
-#define GEN_CONST
-#include "mec-2.h"
-#include <stdio.h>
-
-int main()
-{
- FILE *f;
- /* Initialize constants */
- ALPHA_ST = _ALPHA_ST;
- ALPHA_YT = _ALPHA_YT;
- SIGMA_LU = _SIGMA_LU;
- SIGMA_LY = _SIGMA_LY;
- DEFAULT_BETA1 = _DEFAULT_BETA1;
- MIN_BETA = _MIN_BETA;
- EC_MIN_VALUE = _EC_MIN_VALUE;
- CUTOFF = _CUTOFF;
-
- f = fopen("mec-2-const.h", "w");
- if (!f) {
- fprintf(stderr, "Unable to open const output\n");
- exit(1);
- }
- fprintf(f, "/* Generated by genconst */\n");
- fprintf(f, "#define ALPHA_ST %e\n", ALPHA_ST);
- fprintf(f, "#define ALPHA_YT %e\n", ALPHA_YT);
- fprintf(f, "#define SIGMA_LU %e\n", SIGMA_LU);
- fprintf(f, "#define SIGMA_LY %e\n", SIGMA_LY);
- fprintf(f, "#define DEFAULT_BETA1 %e\n", DEFAULT_BETA1);
- fprintf(f, "#define MIN_BETA %e\n", MIN_BETA);
- fprintf(f, "#define EC_MIN_VALUE %e\n", EC_MIN_VALUE);
- fprintf(f, "#define CUTOFF %e\n", CUTOFF);
- exit(0);
-
-}