Ignore:
Timestamp:
2018-04-04T15:42:37Z (7 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2c4e1cc
Parents:
47b2d7e3
Message:

Fix cstyle: make ccheck-fix and commit only files where all the changes are good.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/nic/src/nic_wol_virtues.c

    r47b2d7e3 r1433ecda  
    4848static size_t nic_wv_key_hash(void *key)
    4949{
    50         return *(nic_wv_id_t*) key;
     50        return *(nic_wv_id_t *) key;
    5151}
    5252
     
    6060{
    6161        nic_wol_virtue_t *virtue = (nic_wol_virtue_t *) item;
    62         return (virtue->id == *(nic_wv_id_t*) key);
     62        return (virtue->id == *(nic_wv_id_t *) key);
    6363}
    6464
     
    141141        case NIC_WV_MAGIC_PACKET:
    142142                return data == NULL || length == sizeof (nic_wv_magic_packet_data_t) ?
    143                         EOK : EINVAL;
     143                    EOK : EINVAL;
    144144        default:
    145145                return ENOTSUP;
     
    163163{
    164164        if (!nic_wv_is_multi(virtue->type) &&
    165                 wvs->lists[virtue->type] != NULL) {
     165            wvs->lists[virtue->type] != NULL) {
    166166                return EINVAL;
    167167        }
     
    188188{
    189189        nic_wol_virtue_t *virtue =
    190                 (nic_wol_virtue_t *) hash_table_find(&wvs->table, &id);
     190            (nic_wol_virtue_t *) hash_table_find(&wvs->table, &id);
    191191        if (virtue == NULL) {
    192192                return NULL;
     
    224224 */
    225225const nic_wol_virtue_t *nic_wol_virtues_find(const nic_wol_virtues_t *wvs,
    226         nic_wv_id_t id)
     226    nic_wv_id_t id)
    227227{
    228228        /*
     
    248248 */
    249249errno_t nic_wol_virtues_list(const nic_wol_virtues_t *wvs, nic_wv_type_t type,
    250         size_t max_count, nic_wv_id_t *id_list, size_t *id_count)
     250    size_t max_count, nic_wv_id_t *id_list, size_t *id_count)
    251251{
    252252        size_t count = 0;
Note: See TracChangeset for help on using the changeset viewer.