uid.c: declare helper function static

(cherry picked from commit 067a4d43dc)
This commit is contained in:
Joshua Root
2025-10-27 01:07:16 +11:00
parent 1ef9d3947e
commit df18d0913e
+1 -1
View File
@@ -88,7 +88,7 @@ int getegidCmd(ClientData clientData UNUSED, Tcl_Interp *interp, int objc, Tcl_O
return TCL_OK;
}
int initGroupsForUID(Tcl_Interp *interp, uid_t uid)
static int initGroupsForUID(Tcl_Interp *interp, uid_t uid)
{
struct passwd *pwent = getpwuid(uid);
if (!pwent) {