|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r72166 - trunk/libs/thread/src/pthread
From: anthony_at_[hidden]
Date: 2011-05-25 17:19:01
Author: anthonyw
Date: 2011-05-25 17:18:59 EDT (Wed, 25 May 2011)
New Revision: 72166
URL: http://svn.boost.org/trac/boost/changeset/72166
Log:
extern "C" functions are static
Text files modified:
trunk/libs/thread/src/pthread/once.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Modified: trunk/libs/thread/src/pthread/once.cpp
==============================================================================
--- trunk/libs/thread/src/pthread/once.cpp (original)
+++ trunk/libs/thread/src/pthread/once.cpp 2011-05-25 17:18:59 EDT (Wed, 25 May 2011)
@@ -22,12 +22,12 @@
pthread_key_t epoch_tss_key;
pthread_once_t epoch_tss_key_flag=PTHREAD_ONCE_INIT;
- extern "C" void delete_epoch_tss_data(void* data)
+ extern "C" static void delete_epoch_tss_data(void* data)
{
free(data);
}
- extern "C" void create_epoch_tss_key()
+ extern "C" static void create_epoch_tss_key()
{
BOOST_VERIFY(!pthread_key_create(&epoch_tss_key,delete_epoch_tss_data));
}
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk