From f7d882d931ee95d3f9a0eba507a752a7ebcb7e2b Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Tue, 1 Jun 2021 06:24:26 -0700 Subject: 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. --- sysif.c | 8 ++++---- 1 file 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 { -- cgit v1.2.3