rutwa189 / rpms / openssh

Forked from rpms/openssh a year ago
Clone
Petr Šabata 81d24c
diff -up openssh-7.1p2/pam_ssh_agent_auth-0.10.2/pam_ssh_agent_auth.c.psaa-visibility openssh-7.1p2/pam_ssh_agent_auth-0.10.2/pam_ssh_agent_auth.c
Petr Šabata 81d24c
--- openssh-7.1p2/pam_ssh_agent_auth-0.10.2/pam_ssh_agent_auth.c.psaa-visibility	2014-03-31 19:35:17.000000000 +0200
Petr Šabata 81d24c
+++ openssh-7.1p2/pam_ssh_agent_auth-0.10.2/pam_ssh_agent_auth.c	2016-01-22 15:22:40.984469774 +0100
Petr Šabata 81d24c
@@ -72,7 +72,7 @@ char           *__progname;
Petr Šabata 81d24c
 extern char    *__progname;
Petr Šabata 81d24c
 #endif
Petr Šabata 81d24c
 
Petr Šabata 81d24c
-PAM_EXTERN int
Petr Šabata 81d24c
+PAM_EXTERN int __attribute__ ((visibility ("default")))
Petr Šabata 81d24c
 pam_sm_authenticate(pam_handle_t * pamh, int flags, int argc, const char **argv)
Petr Šabata 81d24c
 {
Petr Šabata 81d24c
     char          **argv_ptr;
Petr Šabata 81d24c
@@ -214,7 +214,7 @@ cleanexit:
Petr Šabata 81d24c
 }
Petr Šabata 81d24c
 
Petr Šabata 81d24c
 
Petr Šabata 81d24c
-PAM_EXTERN int
Petr Šabata 81d24c
+PAM_EXTERN int __attribute__ ((visibility ("default")))
Petr Šabata 81d24c
 pam_sm_setcred(pam_handle_t * pamh, int flags, int argc, const char **argv)
Petr Šabata 81d24c
 {
Petr Šabata 81d24c
     UNUSED(pamh);