From daa8c4cb3bd3eaf71448cae646fed9cea83ad9d4 Mon Sep 17 00:00:00 2001 From: Chris Rankin Date: Wed, 5 Oct 2011 15:20:37 +0100 Subject: Bring xine_private.h into line with 1.2 branch, which already has this capability, and force an error if someone tries to include xine_private.h in an unsuitable source file. --- src/xine-utils/attributes.h | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/xine-utils') diff --git a/src/xine-utils/attributes.h b/src/xine-utils/attributes.h index 9f02d9b7b..2326dab18 100644 --- a/src/xine-utils/attributes.h +++ b/src/xine-utils/attributes.h @@ -66,15 +66,6 @@ # define XINE_PROTECTED #endif -/* Export hidden only for private/internal libxine functions */ -#if defined(XINE_LIBRARY_COMPILE) && defined(SUPPORT_ATTRIBUTE_VISIBILITY_INTERNAL) -# define XINE_INTERNAL __attribute__((__visibility__("internal"))) -#elif defined(XINE_LIBRARY_COMPILE) && defined(SUPPORT_ATTRIBUTE_VISIBILITY_DEFAULT) -# define XINE_INTERNAL __attribute__((__visibility__("default"))) -#else -# define XINE_INTERNAL -#endif - #ifdef SUPPORT_ATTRIBUTE_SENTINEL # define XINE_SENTINEL __attribute__((__sentinel__)) #else -- cgit v1.2.3