Changeset 102f641 in mainline for uspace/srv/sysman/repo.c


Ignore:
Timestamp:
2019-09-02T19:01:50Z (5 years ago)
Author:
Matthieu Riolo <matthieu.riolo@…>
Children:
25697163
Parents:
241f1985
Message:

Correcting syntax according to ccheck

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/sysman/repo.c

    r241f1985 r102f641  
    107107}
    108108
    109 
    110109static hash_table_ops_t units_by_name_ht_ops = {
    111110        .hash            = &units_by_name_ht_hash,
     
    133132{
    134133        sysman_log(LVL_DEBUG2, "%s(%s, %i)", __func__, name, lock);
    135         if (lock) fibril_rwlock_read_lock(&repo_lock);
     134        if (lock)
     135                fibril_rwlock_read_lock(&repo_lock);
    136136        ht_link_t *ht_link = hash_table_find(&units_by_name, (void *)name);
    137         if (lock) fibril_rwlock_read_unlock(&repo_lock);
     137        if (lock)
     138                fibril_rwlock_read_unlock(&repo_lock);
    138139
    139140        if (ht_link != NULL) {
     
    177178}
    178179
    179 void repo_begin_update(void) {
     180void repo_begin_update(void)
     181{
    180182        sysman_log(LVL_DEBUG2, "%s", __func__);
    181183        fibril_rwlock_write_lock(&repo_lock);
Note: See TracChangeset for help on using the changeset viewer.