Re-format code to avoid overly long lines and declarations
This commit is contained in:
+3
-1
@@ -13,7 +13,9 @@ int uc_ticket_lock_init(struct UCTicketLock *lock)
|
||||
return uc_ticket_lock_init_ex(lock, NULL, NULL);
|
||||
}
|
||||
|
||||
int uc_ticket_lock_init_ex(struct UCTicketLock *lock, pthread_mutexattr_t *mattr, pthread_condattr_t *cattr)
|
||||
int uc_ticket_lock_init_ex(struct UCTicketLock *lock,
|
||||
pthread_mutexattr_t *mattr,
|
||||
pthread_condattr_t *cattr)
|
||||
{
|
||||
int rc;
|
||||
lock->queue_head = 0;
|
||||
|
||||
Reference in New Issue
Block a user