diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2021-06-01 06:24:26 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2021-06-01 06:24:26 -0700 |
commit | 08ab9981520861947b4b98c79703d76056f3f258 (patch) | |
tree | a202c530672d2ae39cdad06cb5fbb3a0bc19a866 | |
parent | 9d99b9a71a24c6863b1a9b23e8d8060548ae4ff0 (diff) | |
download | txr-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.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 { |