aboutsummaryrefslogtreecommitdiffstats
path: root/int_array.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2012-03-01 20:29:12 +0200
committerArnold D. Robbins <arnold@skeeve.com>2012-03-01 20:29:12 +0200
commit473623f186c3699c8886ccdd8a2afb7f4fe7a07e (patch)
tree40b075a492be67b317635d9102e2441d74ce9569 /int_array.c
parent2b8a8424212839cd30490e4245c0c5119904eca3 (diff)
parent1c06c5c6f0f6d46f63977dd7407d86ccc2614226 (diff)
downloadegawk-473623f186c3699c8886ccdd8a2afb7f4fe7a07e.tar.gz
egawk-473623f186c3699c8886ccdd8a2afb7f4fe7a07e.tar.bz2
egawk-473623f186c3699c8886ccdd8a2afb7f4fe7a07e.zip
Merge branch 'gawk_mpfr' of git.sv.gnu.org:/srv/git/gawk into gawk_mpfr
Diffstat (limited to 'int_array.c')
-rw-r--r--int_array.c29
1 files changed, 0 insertions, 29 deletions
diff --git a/int_array.c b/int_array.c
index d9983109..0fa37642 100644
--- a/int_array.c
+++ b/int_array.c
@@ -40,10 +40,6 @@ static NODE **int_list(NODE *symbol, NODE *t);
static NODE **int_copy(NODE *symbol, NODE *newsymb);
static NODE **int_dump(NODE *symbol, NODE *ndump);
-#ifdef ARRAYDEBUG
-static NODE **int_option(NODE *opt, NODE *val);
-#endif
-
static uint32_t int_hash(uint32_t k, uint32_t hsize);
static inline NODE **int_find(NODE *symbol, long k, uint32_t hash1);
static NODE **int_insert(NODE *symbol, long k, uint32_t hash1);
@@ -59,9 +55,6 @@ array_ptr int_array_func[] = {
int_list,
int_copy,
int_dump,
-#ifdef ARRAYDEBUG
- int_option,
-#endif
};
@@ -804,25 +797,3 @@ grow_int_table(NODE *symbol)
}
efree(old);
}
-
-
-#ifdef ARRAYDEBUG
-
-static NODE **
-int_option(NODE *opt, NODE *val)
-{
- int newval;
- NODE *tmp;
- NODE **ret = (NODE **) ! NULL;
-
- tmp = force_string(opt);
- (void) force_number(val);
- if (strcmp(tmp->stptr, "INT_CHAIN_MAX") == 0) {
- newval = (int) val->numbr;
- if (newval > 0)
- INT_CHAIN_MAX = newval;
- } else
- ret = NULL;
- return ret;
-}
-#endif