summaryrefslogtreecommitdiffstats
path: root/glob.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2019-10-29 06:36:13 -0700
committerKaz Kylheku <kaz@kylheku.com>2019-10-29 14:46:43 -0700
commit6896d02e5bdb2deb0f0b3d3becfe55dd9981a78b (patch)
tree9170e0a0036b6b5946414f7239a203f00ec968b4 /glob.h
parent7cab13d777f7c70ca3db2589c253d59f646c7e6d (diff)
downloadtxr-6896d02e5bdb2deb0f0b3d3becfe55dd9981a78b.tar.gz
txr-6896d02e5bdb2deb0f0b3d3becfe55dd9981a78b.tar.bz2
txr-6896d02e5bdb2deb0f0b3d3becfe55dd9981a78b.zip
naming: get the -func out, at least some of it.
The code base contains a lot of irksome _func which should be _fun, and also the public functions func-get-form and func-get-name are irksomely named. As a first step, we can fix parameters which carry this suffix. * glob.c (global_wrap): errfunc argument renamed to errfun. * glob.h (global_wrap): Likewise. * hash.h (hash_uni, hash_isec): join_func argument renamed to joinfun. * hash.h (hash_uni, hash_isec): Likewise. * txr.1: fixed gen-func typo. Arguments renamed in descriptions of hash-uni, hash-isec, iff, iffi, glob, and ftw.
Diffstat (limited to 'glob.h')
-rw-r--r--glob.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/glob.h b/glob.h
index c5d6438b..eaaa81a0 100644
--- a/glob.h
+++ b/glob.h
@@ -25,5 +25,5 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-val glob_wrap(val pattern, val flags, val errfunc);
+val glob_wrap(val pattern, val flags, val errfun);
void glob_init(void);