diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2016-12-14 21:25:20 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2016-12-14 21:25:20 +0200 |
commit | 0855ef4db6d8e0d1d57776eb273c9de321bfd6cf (patch) | |
tree | 360dc72f0eecdeed3cb15154c55f767fa0508caa /extension/fnmatch.c | |
parent | 539de0a854fb94fd6ba47e91cee55f22fcd851a3 (diff) | |
download | egawk-0855ef4db6d8e0d1d57776eb273c9de321bfd6cf.tar.gz egawk-0855ef4db6d8e0d1d57776eb273c9de321bfd6cf.tar.bz2 egawk-0855ef4db6d8e0d1d57776eb273c9de321bfd6cf.zip |
Fix lint stuff, arg checking. Add a data pointer. Pass finfo to functions.
Diffstat (limited to 'extension/fnmatch.c')
-rw-r--r-- | extension/fnmatch.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extension/fnmatch.c b/extension/fnmatch.c index caf64a7b..5382e4bc 100644 --- a/extension/fnmatch.c +++ b/extension/fnmatch.c @@ -95,7 +95,7 @@ int plugin_is_GPL_compatible; /* do_fnmatch --- implement the fnmatch interface */ static awk_value_t * -do_fnmatch(int nargs, awk_value_t *result) +do_fnmatch(int nargs, awk_value_t *result, struct awk_ext_func *unused) { #ifdef HAVE_FNMATCH_H static int flags_mask = @@ -194,7 +194,7 @@ init_fnmatch(void) } static awk_ext_func_t func_table[] = { - { "fnmatch", do_fnmatch, 3, 3 }, + { "fnmatch", do_fnmatch, 3, 3, awk_false, NULL }, }; /* define the dl_load function using the boilerplate macro */ |