Add some consts as recommended by make cppcheck.

This commit is contained in:
Dianne Skoll
2025-07-21 17:44:13 -04:00
parent 418b050b1c
commit c3ab2a15cf
11 changed files with 27 additions and 27 deletions
+1 -1
View File
@@ -1063,7 +1063,7 @@ static void InitializeVar(char const *str)
static void
AddTrustedUser(char const *username)
{
struct passwd *pwent;
struct passwd const *pwent;
if (NumTrustedUsers >= MAX_TRUSTED_USERS) {
fprintf(ErrFp, "Too many trusted users (%d max)\n",
MAX_TRUSTED_USERS);