Ignore:
Timestamp:
2012-11-05T15:37:39Z (12 years ago)
Author:
Adam Hraska <adam.hraska+hos@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f048658
Parents:
6b99156
Message:

Replaced 0 with NULL where appropriate (in rcu, cht, uspace hashtable, smp_call, workqueue).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/adt/hash_table.c

    r6b99156 r205832b  
    112112        h->apply_ongoing = false;
    113113
    114         if (h->op->remove_callback == 0) {
     114        if (h->op->remove_callback == NULL) {
    115115                h->op->remove_callback = nop_remove_callback;
    116116        }
     
    133133        free(h->bucket);
    134134
    135         h->bucket = 0;
     135        h->bucket = NULL;
    136136        h->bucket_cnt = 0;
    137137}
Note: See TracChangeset for help on using the changeset viewer.