From 4e448e2d2c140f5d4ea85938d09672e9fa26994e Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 18 Apr 2010 12:44:58 +1000 Subject: libreplace: added _PUBLIC_ and _PRIVATE_ to replace.h these are needed for all libs that use ABI checking, so libreplace is the logical place for now --- lib/util/attr.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'lib/util') diff --git a/lib/util/attr.h b/lib/util/attr.h index f64b272a67..9b346459b6 100644 --- a/lib/util/attr.h +++ b/lib/util/attr.h @@ -29,12 +29,6 @@ /** Feel free to add definitions for other compilers here. */ #endif -#ifdef HAVE_VISIBILITY_ATTR -# define _PUBLIC_ __attribute__((visibility("default"))) -#else -# define _PUBLIC_ -#endif - #ifndef _DEPRECATED_ #if (__GNUC__ >= 3) && (__GNUC_MINOR__ >= 1 ) #define _DEPRECATED_ __attribute__ ((deprecated)) -- cgit