summaryrefslogtreecommitdiffstats
path: root/sesman/libscp/libscp_lock.c
diff options
context:
space:
mode:
authorPavel Roskin <plroskin@gmail.com>2017-03-12 09:35:00 -0700
committerjsorg71 <jay.sorg@gmail.com>2017-03-14 00:21:48 -0700
commit6ed4c969f4d646a7751fe2da29ba94eddd3d6477 (patch)
tree951c72b16a0be1a1cc8c77e6d2ecaa1f25f2bcd6 /sesman/libscp/libscp_lock.c
parent8be83473b72c926d3c056fd8a81965dbce0a0e5e (diff)
downloadxrdp-proprietary-6ed4c969f4d646a7751fe2da29ba94eddd3d6477.tar.gz
xrdp-proprietary-6ed4c969f4d646a7751fe2da29ba94eddd3d6477.zip
Eliminate APP_CC and DEFAULT_CC
Diffstat (limited to 'sesman/libscp/libscp_lock.c')
-rw-r--r--sesman/libscp/libscp_lock.c10
1 files changed, 5 insertions, 5 deletions
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);