From 395d5192da7103cf44cf1f6c00ae6dfe1a0879ab Mon Sep 17 00:00:00 2001 From: Ivan Maidanski Date: Wed, 21 Sep 2011 16:55:19 +0400 Subject: [PATCH] Do not put dummy AO_non_posix_impl... symbol to executables. * src/atomic_ops.c (AO_non_posix_implementation_is_entirely_in_headers): Make external. --- src/atomic_ops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/atomic_ops.c b/src/atomic_ops.c index 5588e95..c46e2d1 100644 --- a/src/atomic_ops.c +++ b/src/atomic_ops.c @@ -256,6 +256,6 @@ void AO_store_full_emulation(volatile AO_t *addr, AO_t val) #else /* Non-posix platform */ -int AO_non_posix_implementation_is_entirely_in_headers; +extern int AO_non_posix_implementation_is_entirely_in_headers; #endif -- 2.40.0