Skip to content

Commit

Permalink
Merge pull request #79 from jpereira/fix1
Browse files Browse the repository at this point in the history
Fix static warning message.
  • Loading branch information
alandekok authored Nov 7, 2023
2 parents 4ea978e + 36623ba commit 1d734ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pam_radius_auth.c
Original file line number Diff line number Diff line change
Expand Up @@ -1973,6 +1973,8 @@ PAM_EXTERN int pam_sm_chauthtok(pam_handle_t *pamh, int flags, int argc, CONST c
return retval;
}

#ifdef PAM_STATIC

/*
* Do nothing for account management. This is apparently needed by
* some programs.
Expand All @@ -1982,8 +1984,6 @@ PAM_EXTERN int pam_sm_acct_mgmt(UNUSED pam_handle_t *pamh, UNUSED int flags, UNU
return PAM_SUCCESS;
}

#ifdef PAM_STATIC

/* static module data */
struct pam_module _pam_radius_modstruct = {
.name = "pam_radius_auth",
Expand Down

0 comments on commit 1d734ae

Please sign in to comment.