keys = calloc(*numKeys, sizeof(unsigned int));
keyindex = 0;
- for (i = 0; i < mlookup.size; i++)
- {
- if (mlookup.table[i].key != 0){
+ for (i = 0; i < mlookup.size; i++) {
+ if (mlookup.table[i].key != 0) {
curr = &mlookup.table[i];
- while (curr != NULL){
+ while (curr != NULL) {
keys[keyindex++] = curr->key;
curr = curr->next;
}