aboutsummaryrefslogtreecommitdiffstats
path: root/ext.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext.c')
-rw-r--r--ext.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext.c b/ext.c
index b6447c5a..609b3b2b 100644
--- a/ext.c
+++ b/ext.c
@@ -136,8 +136,7 @@ make_builtin(const awk_ext_func_t *funcinfo)
b = bcalloc(Op_symbol, 1, 0);
b->extfunc = funcinfo->function;
- b->min_required = funcinfo->min_required_args;
- b->max_expected = funcinfo->max_expected_args;
+ b->c_func = (awk_ext_func_t *) funcinfo;
/* NB: extension sub must return something */