summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2021-06-01 06:24:26 -0700
committerKaz Kylheku <kaz@kylheku.com>2021-06-01 06:24:26 -0700
commit08ab9981520861947b4b98c79703d76056f3f258 (patch)
treea202c530672d2ae39cdad06cb5fbb3a0bc19a866
parent9d99b9a71a24c6863b1a9b23e8d8060548ae4ff0 (diff)
downloadtxr-08ab9981520861947b4b98c79703d76056f3f258.tar.gz
txr-08ab9981520861947b4b98c79703d76056f3f258.tar.bz2
txr-08ab9981520861947b4b98c79703d76056f3f258.zip
sysif: utimes: internal naming cleanup.
* sysif.c (wrap_utimes, wrap_lutimes): Rename static functions to utimes_wrap and lutimes_wrap, the convention used everwhere for wrappers of library functions. (sysif_init): Follow rename.
-rw-r--r--sysif.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sysif.c b/sysif.c
index 8329c8e8..288f37b4 100644
--- a/sysif.c
+++ b/sysif.c
@@ -1340,14 +1340,14 @@ static val do_utimes(val target, val atime, val atimens,
return t;
}
-static val wrap_utimes(val target, val atime, val atimens,
+static val utimes_wrap(val target, val atime, val atimens,
val mtime, val mtimens)
{
val self = lit("utimes");
return do_utimes(target, atime, atimens, mtime, mtimens, nil, self);
}
-static val wrap_lutimes(val target, val atime, val atimens,
+static val lutimes_wrap(val target, val atime, val atimens,
val mtime, val mtimens)
{
val self = lit("lutimes");
@@ -2742,8 +2742,8 @@ void sysif_init(void)
#endif
#if HAVE_FILE_STAMP_CHANGE
- reg_fun(intern(lit("utimes"), user_package), func_n5(wrap_utimes));
- reg_fun(intern(lit("lutimes"), user_package), func_n5(wrap_lutimes));
+ reg_fun(intern(lit("utimes"), user_package), func_n5(utimes_wrap));
+ reg_fun(intern(lit("lutimes"), user_package), func_n5(lutimes_wrap));
#endif
{