From 0de81927943b14816f44280c99ff08f3d127b21748053eb2968c9ad2ccceeb47 Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Thu, 19 Aug 2021 08:31:48 +0000 Subject: [PATCH] . OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam_dbus?expand=0&rev=13 --- pam_dbus-0.2.1.3.dif | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 :