diff --git a/pam/pam_otp/pam_otp.c b/pam/pam_otp/pam_otp.c index 5631b36..3597fbc 100644 --- a/pam/pam_otp/pam_otp.c +++ b/pam/pam_otp/pam_otp.c @@ -38,7 +38,7 @@ #include -PAM_EXTERN int +int pam_sm_authenticate(pam_handle_t *pamh, int flags, int argc, const char *argv[]) { @@ -51,7 +51,7 @@ pam_sm_authenticate(pam_handle_t *pamh, int flags, return (PAM_AUTH_ERR); } -PAM_EXTERN int +int pam_sm_setcred(pam_handle_t *pamh, int flags, int argc, const char *argv[]) { @@ -63,5 +63,3 @@ pam_sm_setcred(pam_handle_t *pamh, int flags, (void)argv; return (PAM_SUCCESS); } - -PAM_MODULE_ENTRY("pam_otp");