rcolebaugh / rpms / openssh

Forked from rpms/openssh 2 years ago
Clone

Blame SOURCES/pam_ssh_agent_auth-0.9.2-visibility.patch

b58e57
diff -up pam_ssh_agent_auth-0.9.2/pam_ssh_agent_auth.c.visibility pam_ssh_agent_auth-0.9.2/pam_ssh_agent_auth.c
b58e57
--- pam_ssh_agent_auth-0.9.2/pam_ssh_agent_auth.c.visibility	2009-12-21 20:57:34.000000000 +0100
b58e57
+++ pam_ssh_agent_auth-0.9.2/pam_ssh_agent_auth.c	2012-06-21 20:01:31.356259429 +0200
b58e57
@@ -68,7 +68,7 @@ char           *__progname;
b58e57
 extern char    *__progname;
b58e57
 #endif
b58e57
 
b58e57
-PAM_EXTERN int
b58e57
+PAM_EXTERN int __attribute__ ((visibility ("default")))
b58e57
 pam_sm_authenticate(pam_handle_t * pamh, int flags, int argc, const char **argv)
b58e57
 {
b58e57
     char          **argv_ptr;
b58e57
@@ -184,7 +184,7 @@ pam_sm_authenticate(pam_handle_t * pamh,
b58e57
 }
b58e57
 
b58e57
 
b58e57
-PAM_EXTERN int
b58e57
+PAM_EXTERN int __attribute__ ((visibility ("default")))
b58e57
 pam_sm_setcred(pam_handle_t * pamh, int flags, int argc, const char **argv)
b58e57
 {
b58e57
     UNUSED(pamh);