Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Aug 2010 09:55:52 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r211868 - head/sys/sys
Message-ID:  <201008270955.o7R9tqkh071398@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kib
Date: Fri Aug 27 09:55:51 2010
New Revision: 211868
URL: http://svn.freebsd.org/changeset/base/211868

Log:
  Use private namespace for visibility keyword.
  
  Noted by:	bde
  MFC after:	3 days

Modified:
  head/sys/sys/cdefs.h

Modified: head/sys/sys/cdefs.h
==============================================================================
--- head/sys/sys/cdefs.h	Fri Aug 27 09:36:02 2010	(r211867)
+++ head/sys/sys/cdefs.h	Fri Aug 27 09:55:51 2010	(r211868)
@@ -306,8 +306,8 @@
 #endif
 
 #if __GNUC_PREREQ__(4, 2)
-#define	__hidden	__attribute__((visibility("hidden")))
-#define	__exported	__attribute__((visibility("default")))
+#define	__hidden	__attribute__((__visibility__("hidden")))
+#define	__exported	__attribute__((__visibility__("default")))
 #else
 #define	__hidden
 #define	__exported



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008270955.o7R9tqkh071398>