diff --git a/pam_dbus-0.2.1.3.dif b/pam_dbus-0.2.1.3.dif index c022b98..6833ba4 100644 --- a/pam_dbus-0.2.1.3.dif +++ b/pam_dbus-0.2.1.3.dif @@ -40,8 +40,8 @@ return login_ok ? PAM_SUCCESS : PAM_AUTH_ERR; } + -+PAM_EXTERN int pam_sm_setcred(pam_handle_t *pamh, int flags, int argc __unused, const -+ char **argv __unused) { ++PAM_EXTERN int pam_sm_setcred(pam_handle_t *pamh, int flags, int argc __attribute__((unused)), const ++ char **argv __attribute__((unused))) { + int rc = ((flags & PAM_ESTABLISH_CRED) ? PAM_SUCCESS : + (flags & PAM_REINITIALIZE_CRED) ? PAM_SUCCESS : + (flags & PAM_REFRESH_CRED) ? PAM_SUCCESS :