File dllexport.patch of Package mingw64-tls

--- tls1.6.7/tls.h      2000-01-20 02:59:38.000000000 +0100
+++ tls1.6.7-new/tls.h  2017-10-10 11:08:33.598794408 +0200
@@ -35,7 +35,7 @@
  * Forward declarations
  */

-EXTERN int Tls_Init _ANSI_ARGS_ ((Tcl_Interp *));
-EXTERN int Tls_SafeInit _ANSI_ARGS_ ((Tcl_Interp *));
+extern int Tls_Init _ANSI_ARGS_ ((Tcl_Interp *));
+extern int Tls_SafeInit _ANSI_ARGS_ ((Tcl_Interp *));

 #endif /* _TLS_H */
--- tls1.6.7/tlsInt.h	2015-06-06 11:07:08.000000000 +0200
+++ tls1.6.7-new/tlsInt.h	2017-10-05 13:44:36.527131931 +0200
@@ -246,17 +246,17 @@ typedef int (tls_GetTopChannel) _ANSI_AR
  * Forward declarations
  */
 
-EXTERN Tcl_ChannelType *Tls_ChannelType _ANSI_ARGS_((void));
-EXTERN Tcl_Channel	Tls_GetParent _ANSI_ARGS_((State *statePtr));
+extern Tcl_ChannelType *Tls_ChannelType _ANSI_ARGS_((void));
+extern Tcl_Channel	Tls_GetParent _ANSI_ARGS_((State *statePtr));
 
-EXTERN Tcl_Obj*		Tls_NewX509Obj _ANSI_ARGS_ (( Tcl_Interp *interp, X509 *cert));
-EXTERN void		Tls_Error _ANSI_ARGS_ ((State *statePtr, char *msg));
-EXTERN void		Tls_Free _ANSI_ARGS_ ((char *blockPtr));
-EXTERN void		Tls_Clean _ANSI_ARGS_ ((State *statePtr));
-EXTERN int		Tls_WaitForConnect _ANSI_ARGS_(( State *statePtr,
+extern Tcl_Obj*		Tls_NewX509Obj _ANSI_ARGS_ (( Tcl_Interp *interp, X509 *cert));
+extern void		Tls_Error _ANSI_ARGS_ ((State *statePtr, char *msg));
+extern void		Tls_Free _ANSI_ARGS_ ((char *blockPtr));
+extern void		Tls_Clean _ANSI_ARGS_ ((State *statePtr));
+extern int		Tls_WaitForConnect _ANSI_ARGS_(( State *statePtr,
 							int *errorCodePtr));
 
-EXTERN BIO_METHOD *	BIO_s_tcl _ANSI_ARGS_((void));
-EXTERN BIO *		BIO_new_tcl _ANSI_ARGS_((State* statePtr, int flags));
+extern BIO_METHOD *	BIO_s_tcl _ANSI_ARGS_((void));
+extern BIO *		BIO_new_tcl _ANSI_ARGS_((State* statePtr, int flags));
 
 #endif /* _TLSINT_H */
openSUSE Build Service is sponsored by