rutwa189 / rpms / openssh

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