serf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r1834228 - in /serf/trunk/auth: auth_spnego.c auth_spnego_gss.c auth_spnego_sspi.c
Date Sat, 23 Jun 2018 22:47:22 GMT
Author: brane
Date: Sat Jun 23 22:47:22 2018
New Revision: 1834228

URL: http://svn.apache.org/viewvc?rev=1834228&view=rev
Log:
Silence "object has no symbols" warnings from ranlib on macOS.

* auth/auth_spnego.c, auth/auth_spnego_gss.c, auth/auth_spnego_sspi.c:
   Make sure each object file compiled from these sources contains at
   least one public symbol.

Modified:
    serf/trunk/auth/auth_spnego.c
    serf/trunk/auth/auth_spnego_gss.c
    serf/trunk/auth/auth_spnego_sspi.c

Modified: serf/trunk/auth/auth_spnego.c
URL: http://svn.apache.org/viewvc/serf/trunk/auth/auth_spnego.c?rev=1834228&r1=1834227&r2=1834228&view=diff
==============================================================================
--- serf/trunk/auth/auth_spnego.c (original)
+++ serf/trunk/auth/auth_spnego.c Sat Jun 23 22:47:22 2018
@@ -676,4 +676,7 @@ const serf__authn_scheme_t serf__ntlm_au
 };
 #endif /* #ifdef WIN32 */
 
+#else  /* SERF_HAVE_SPNEGO */
+/* Prevent "object has no symbols" warnings from ranlib on macOS. */
+const long serf__fake__auth_spnego_c = 0xdeadbeef;
 #endif /* SERF_HAVE_SPNEGO */

Modified: serf/trunk/auth/auth_spnego_gss.c
URL: http://svn.apache.org/viewvc/serf/trunk/auth/auth_spnego_gss.c?rev=1834228&r1=1834227&r2=1834228&view=diff
==============================================================================
--- serf/trunk/auth/auth_spnego_gss.c (original)
+++ serf/trunk/auth/auth_spnego_gss.c Sat Jun 23 22:47:22 2018
@@ -231,4 +231,7 @@ serf__spnego_init_sec_context(serf_conne
     }
 }
 
+#else  /* SERF_USE_GSSAPI */
+/* Prevent "object has no symbols" warnings from ranlib on macOS. */
+const long serf__fake__auth_spnego_gas_c = 0xdeadbeef;
 #endif /* SERF_USE_GSSAPI */

Modified: serf/trunk/auth/auth_spnego_sspi.c
URL: http://svn.apache.org/viewvc/serf/trunk/auth/auth_spnego_sspi.c?rev=1834228&r1=1834227&r2=1834228&view=diff
==============================================================================
--- serf/trunk/auth/auth_spnego_sspi.c (original)
+++ serf/trunk/auth/auth_spnego_sspi.c Sat Jun 23 22:47:22 2018
@@ -300,4 +300,7 @@ serf__spnego_init_sec_context(serf_conne
     }
 }
 
+#else  /* SERF_USE_SSPI */
+/* Prevent "object has no symbols" warnings from ranlib on macOS. */
+const long serf__fake__auth_spnego_sspi_c = 0xdeadbeef;
 #endif /* SERF_USE_SSPI */



Mime
View raw message