some style fixes

ulab-original
ilsimo 18 years ago
parent 4175d2d8be
commit 7dcf60f8a0

@ -43,7 +43,7 @@ int lock_fork_waiting_count; /* threads suspended until the fork finish
sem_t lock_socket;
void DEFAULT_CC
lock_init()
lock_init(void)
{
/* initializing socket lock */
sem_init(&lock_socket, 0, 1);
@ -71,7 +71,7 @@ lock_init()
/******************************************************************************/
void DEFAULT_CC
lock_chain_acquire()
lock_chain_acquire(void)
{
/*lock the chain*/
LOG_DBG("lock_chain_acquire()",0);
@ -80,7 +80,7 @@ lock_chain_acquire()
/******************************************************************************/
void DEFAULT_CC
lock_chain_release()
lock_chain_release(void)
{
/*unlock the chain*/
LOG_DBG("lock_chain_release()",0);
@ -89,7 +89,7 @@ lock_chain_release()
/******************************************************************************/
void DEFAULT_CC
lock_socket_acquire()
lock_socket_acquire(void)
{
/* lock socket variable */
LOG_DBG("lock_socket_acquire()",0);
@ -98,7 +98,7 @@ lock_socket_acquire()
/******************************************************************************/
void DEFAULT_CC
lock_socket_release()
lock_socket_release(void)
{
/* unlock socket variable */
LOG_DBG("lock_socket_release()",0);
@ -107,7 +107,7 @@ lock_socket_release()
/******************************************************************************/
void DEFAULT_CC
lock_fork_request()
lock_fork_request(void)
{
/* lock mutex */
pthread_mutex_lock(&lock_fork);
@ -125,7 +125,7 @@ lock_fork_request()
/******************************************************************************/
void DEFAULT_CC
lock_fork_release()
lock_fork_release(void)
{
pthread_mutex_lock(&lock_fork);
lock_fork_forkers_count--;
@ -168,7 +168,7 @@ lock_fork_critical_section_end(int blocking)
/******************************************************************************/
int DEFAULT_CC
lock_fork_critical_section_start()
lock_fork_critical_section_start(void)
{
LOG_DBG("lock_fork_critical_secection_start()",0);
do

@ -31,7 +31,7 @@
*
*/
void DEFAULT_CC
lock_init();
lock_init(void);
/**
*
@ -39,7 +39,7 @@ lock_init();
*
*/
void DEFAULT_CC
lock_chain_acquire();
lock_chain_acquire(void);
/**
*
@ -47,7 +47,7 @@ lock_chain_acquire();
*
*/
void DEFAULT_CC
lock_chain_release();
lock_chain_release(void);
/**
*
@ -55,7 +55,7 @@ lock_chain_release();
*
*/
void DEFAULT_CC
lock_cfg_acquire();
lock_cfg_acquire(void);
/**
*
@ -63,7 +63,7 @@ lock_cfg_acquire();
*
*/
void DEFAULT_CC
lock_cfg_release();
lock_cfg_release(void);
/**
*
@ -71,7 +71,7 @@ lock_cfg_release();
*
*/
void DEFAULT_CC
lock_socket_acquire();
lock_socket_acquire(void);
/**
*
@ -79,7 +79,7 @@ lock_socket_acquire();
*
*/
void DEFAULT_CC
lock_socket_release();
lock_socket_release(void);
/**
*
@ -87,7 +87,7 @@ lock_socket_release();
*
*/
void DEFAULT_CC
lock_fork_request();
lock_fork_request(void);
/**
*
@ -95,7 +95,7 @@ lock_fork_request();
*
*/
void DEFAULT_CC
lock_fork_release();
lock_fork_release(void);
/**
*
@ -109,7 +109,7 @@ lock_fork_release();
*
*/
int DEFAULT_CC
lock_fork_critical_section_start();
lock_fork_critical_section_start(void);
/**
*

@ -36,7 +36,7 @@
*
*/
int DEFAULT_CC
thread_sighandler_start();
thread_sighandler_start(void);
/**
*
@ -44,7 +44,7 @@ thread_sighandler_start();
*
*/
int DEFAULT_CC
thread_session_update_start();
thread_session_update_start(void);
/**
*
@ -52,6 +52,6 @@ thread_session_update_start();
*
*/
int DEFAULT_CC
thread_scp_start();
thread_scp_start(int skt);
#endif

Loading…
Cancel
Save