Changeset 98000fb in mainline for kernel/generic/src/main/kinit.c


Ignore:
Timestamp:
2009-06-03T19:34:45Z (15 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
301ff30
Parents:
69e68e3
Message:

remove redundant index_t and count_t types (which were always quite ambiguous and not actually needed)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/main/kinit.c

    r69e68e3 r98000fb  
    128128       
    129129        if (config.cpu_count > 1) {
    130                 count_t i;
     130                size_t i;
    131131               
    132132                /*
     
    141141                                thread_ready(thread);
    142142                        } else
    143                                 printf("Unable to create kcpulb thread for cpu" PRIc "\n", i);
     143                                printf("Unable to create kcpulb thread for cpu" PRIs "\n", i);
    144144                }
    145145        }
     
    169169         * Create user tasks, load RAM disk images.
    170170         */
    171         count_t i;
     171        size_t i;
    172172        program_t programs[CONFIG_INIT_TASKS];
    173173       
    174174        for (i = 0; i < init.cnt; i++) {
    175175                if (init.tasks[i].addr % FRAME_SIZE) {
    176                         printf("init[%" PRIc "].addr is not frame aligned\n", i);
     176                        printf("init[%" PRIs "].addr is not frame aligned\n", i);
    177177                        continue;
    178178                }
     
    214214                       
    215215                        if (rd != RE_OK)
    216                                 printf("Init binary %" PRIc " not used (error %d)\n", i, rd);
     216                                printf("Init binary %" PRIs " not used (error %d)\n", i, rd);
    217217                }
    218218        }
Note: See TracChangeset for help on using the changeset viewer.