diff --git a/src/pthread/once.cpp b/src/pthread/once.cpp old mode 100755 new mode 100644 index 6e3722a8..50ebf352 --- a/src/pthread/once.cpp +++ b/src/pthread/once.cpp @@ -22,12 +22,12 @@ namespace boost 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)); }