From 6ed4c969f4d646a7751fe2da29ba94eddd3d6477 Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Sun, 12 Mar 2017 09:35:00 -0700 Subject: Eliminate APP_CC and DEFAULT_CC --- sesman/libscp/libscp_lock.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'sesman/libscp/libscp_lock.c') diff --git a/sesman/libscp/libscp_lock.c b/sesman/libscp/libscp_lock.c index e025882d..23647dcb 100644 --- a/sesman/libscp/libscp_lock.c +++ b/sesman/libscp/libscp_lock.c @@ -36,7 +36,7 @@ int lock_fork_forkers_count; /* threads that want to fork */ int lock_fork_blockers_count; /* threads that are blocking fork */ int lock_fork_waiting_count; /* threads suspended until the fork finishes */ -void DEFAULT_CC +void scp_lock_init(void) { /* initializing fork lock */ @@ -53,7 +53,7 @@ scp_lock_init(void) } /******************************************************************************/ -void DEFAULT_CC +void scp_lock_fork_request(void) { /* lock mutex */ @@ -73,7 +73,7 @@ scp_lock_fork_request(void) } /******************************************************************************/ -void DEFAULT_CC +void scp_lock_fork_release(void) { pthread_mutex_lock(&lock_fork); @@ -95,7 +95,7 @@ scp_lock_fork_release(void) } /******************************************************************************/ -void DEFAULT_CC +void scp_lock_fork_critical_section_end(int blocking) { //LOG_DBG("lock_fork_critical_section_end()",0); @@ -118,7 +118,7 @@ scp_lock_fork_critical_section_end(int blocking) } /******************************************************************************/ -int DEFAULT_CC +int scp_lock_fork_critical_section_start(void) { //LOG_DBG("lock_fork_critical_section_start()",0); -- cgit v1.2.1