]> granicus.if.org Git - libatomic_ops/commitdiff
Do not put dummy AO_non_posix_impl... symbol to executables.
authorIvan Maidanski <ivmai@mail.ru>
Wed, 21 Sep 2011 12:55:19 +0000 (16:55 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Wed, 21 Sep 2011 12:57:30 +0000 (16:57 +0400)
* src/atomic_ops.c
(AO_non_posix_implementation_is_entirely_in_headers): Make external.

src/atomic_ops.c

index 5588e9512d930658803b0c0d1226e9b859d7f1c6..c46e2d1de509c08729bcb0884959dce211339362 100644 (file)
@@ -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