diff --git a/src/pam_radius_auth.c b/src/pam_radius_auth.c index 2549190..264ec9f 100644 --- a/src/pam_radius_auth.c +++ b/src/pam_radius_auth.c @@ -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. @@ -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",