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 | f7d882d931ee95d3f9a0eba507a752a7ebcb7e2b (patch) | |
tree | a202c530672d2ae39cdad06cb5fbb3a0bc19a866 | |
parent | fe87c6b0bb9bb4ec8af67c87ef86c9b0eaccf49e (diff) | |
download | txr-f7d882d931ee95d3f9a0eba507a752a7ebcb7e2b.tar.gz txr-f7d882d931ee95d3f9a0eba507a752a7ebcb7e2b.tar.bz2 txr-f7d882d931ee95d3f9a0eba507a752a7ebcb7e2b.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 { |