Changeset 7f1c620 in mainline for generic/src/mm/buddy.c


Ignore:
Timestamp:
2006-07-04T17:17:56Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0ffa3ef5
Parents:
991779c5
Message:

Replace old u?? types with respective C99 variants (e.g. uint32_t, int64_t, uintptr_t etc.).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • generic/src/mm/buddy.c

    r991779c5 r7f1c620  
    6767 */
    6868void buddy_system_create(buddy_system_t *b,
    69                          __u8 max_order,
     69                         uint8_t max_order,
    7070                         buddy_system_operations_t *op,
    7171                         void *data)
     
    102102 * @return True if block can be allocated
    103103 */
    104 bool buddy_system_can_alloc(buddy_system_t *b, __u8 i) {
    105         __u8 k;
     104bool buddy_system_can_alloc(buddy_system_t *b, uint8_t i) {
     105        uint8_t k;
    106106       
    107107        /*
     
    131131{
    132132        link_t *left,*right, *tmp;
    133         __u8 order;
     133        uint8_t order;
    134134
    135135        left = b->op->find_block(b, block, BUDDY_SYSTEM_INNER_BLOCK);
     
    168168 * @return Block of data represented by link_t.
    169169 */
    170 link_t *buddy_system_alloc(buddy_system_t *b, __u8 i)
     170link_t *buddy_system_alloc(buddy_system_t *b, uint8_t i)
    171171{
    172172        link_t *res, *hlp;
     
    231231{
    232232        link_t *buddy, *hlp;
    233         __u8 i;
     233        uint8_t i;
    234234
    235235        /*
Note: See TracChangeset for help on using the changeset viewer.