Make some global variables that are only ever accessed from one file
static.
Reviewed-by: Rich Salz <rsalz@openssl.org>
}
# endif
-DWORD threadstopkey = TLS_OUT_OF_INDEXES;
+static DWORD threadstopkey = TLS_OUT_OF_INDEXES;
static int ossl_init_setup_thread_stop(void)
{
#else /* pthreads */
# include <pthread.h>
-pthread_key_t threadstopkey;
+static pthread_key_t threadstopkey;
typedef pthread_once_t OPENSSL_INIT_ONCE;
# define OPENSSL_INIT_ONCE_STATIC_INIT PTHREAD_ONCE_INIT