kentpeacock / rpms / openssh

Forked from rpms/openssh 2 years ago
Clone
f09e2e
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
f09e2e
--- pam_ssh_agent_auth-0.9.2/pam_ssh_agent_auth.c.visibility	2009-12-21 20:57:34.000000000 +0100
f09e2e
+++ pam_ssh_agent_auth-0.9.2/pam_ssh_agent_auth.c	2012-06-21 20:01:31.356259429 +0200
f09e2e
@@ -68,7 +68,7 @@ char           *__progname;
f09e2e
 extern char    *__progname;
f09e2e
 #endif
f09e2e
 
f09e2e
-PAM_EXTERN int
f09e2e
+PAM_EXTERN int __attribute__ ((visibility ("default")))
f09e2e
 pam_sm_authenticate(pam_handle_t * pamh, int flags, int argc, const char **argv)
f09e2e
 {
f09e2e
     char          **argv_ptr;
f09e2e
@@ -184,7 +184,7 @@ pam_sm_authenticate(pam_handle_t * pamh,
f09e2e
 }
f09e2e
 
f09e2e
 
f09e2e
-PAM_EXTERN int
f09e2e
+PAM_EXTERN int __attribute__ ((visibility ("default")))
f09e2e
 pam_sm_setcred(pam_handle_t * pamh, int flags, int argc, const char **argv)
f09e2e
 {
f09e2e
     return PAM_SUCCESS;