]> git.ipfire.org Git - thirdparty/shadow.git/commitdiff
src/usermod.c: Rename update_gshadow() => update_gshadow_file()
authorAlejandro Colomar <alx@kernel.org>
Fri, 17 May 2024 00:11:22 +0000 (02:11 +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 aaa83d7d78d1b2bf1b6f3133e999771504e2d5e0..3048f8013d6cc6753ef7d0d23e208b55e675c3a9 100644 (file)
@@ -181,7 +181,7 @@ NORETURN static void fail_exit (int);
 static void update_group_file(void);
 
 #ifdef SHADOWGRP
-static void update_gshadow (void);
+static void update_gshadow_file(void);
 #endif
 static void grp_update (void);
 
@@ -798,7 +798,8 @@ update_group_file(void)
 }
 
 #ifdef SHADOWGRP
-static void update_gshadow (void)
+static void
+update_gshadow_file(void)
 {
        bool               changed;
        const struct sgrp  *sgrp;
@@ -954,7 +955,7 @@ static void grp_update (void)
        update_group_file();
 #ifdef SHADOWGRP
        if (is_shadow_grp) {
-               update_gshadow ();
+               update_gshadow_file();
        }
 #endif
 }