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
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to