Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 May 2013 07:44:02 +0000 (UTC)
From:      Ed Schouten <ed@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r250806 - head/sys/sys
Message-ID:  <201305190744.r4J7i2FD055067@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ed
Date: Sun May 19 07:44:01 2013
New Revision: 250806
URL: http://svnweb.freebsd.org/changeset/base/250806

Log:
  Remove lint case for _Thread_local.
  
  I added this block, knowing that lint does not support _Thread_local.
  When linting, we could argue that we don't care about TLS (yet). It
  seems, however, that external pieces of software also sometimes do a
  -Dlint, regex the output and compile it again.
  
  Reported by:	swills

Modified:
  head/sys/sys/cdefs.h

Modified: head/sys/sys/cdefs.h
==============================================================================
--- head/sys/sys/cdefs.h	Sun May 19 05:49:21 2013	(r250805)
+++ head/sys/sys/cdefs.h	Sun May 19 07:44:01 2013	(r250806)
@@ -292,8 +292,6 @@
 #if /* (defined(__cplusplus) && __cplusplus >= 201103L) || */ \
     __has_extension(cxx_thread_local)
 #define	_Thread_local		thread_local
-#elif defined(lint)
-#define	_Thread_local
 #else
 #define	_Thread_local		__thread
 #endif



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