]> git.ipfire.org Git - thirdparty/shadow.git/commitdiff
src/usermod.c: Rename update_group() => update_group_file()
authorAlejandro Colomar <alx@kernel.org>
Thu, 16 May 2024 11:49:34 +0000 (13:49 +0200)
committerIker Pedrosa <ikerpedrosam@gmail.com>
Mon, 20 May 2024 07:37:01 +0000 (09:37 +0200)
Signed-off-by: Alejandro Colomar <alx@kernel.org>
src/usermod.c

index 57b58f5b55bafbdea1439aefc26ea75e44278778..aaa83d7d78d1b2bf1b6f3133e999771504e2d5e0 100644 (file)
@@ -178,7 +178,7 @@ NORETURN static void usage (int status);
 static void new_pwent (struct passwd *);
 static void new_spent (struct spwd *);
 NORETURN static void fail_exit (int);
-static void update_group (void);
+static void update_group_file(void);
 
 #ifdef SHADOWGRP
 static void update_gshadow (void);
@@ -685,7 +685,8 @@ fail_exit (int code)
 }
 
 
-static void update_group (void)
+static void
+update_group_file(void)
 {
        bool                changed;
        const struct group  *grp;
@@ -950,7 +951,7 @@ static void update_gshadow (void)
  */
 static void grp_update (void)
 {
-       update_group ();
+       update_group_file();
 #ifdef SHADOWGRP
        if (is_shadow_grp) {
                update_gshadow ();