Ignore:
Timestamp:
Apr 17, 2004, 8:15:17 AM (17 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
d63a2c2
Parents:
714f06c
Message:

Remove stray white spaces.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libblock/src/ide_part_table.c

    r714f06c r8b96149  
    4747 */
    4848static rtems_status_code
    49 get_sector(dev_t dev, uint32_t sector_num, sector_data_t **sector) 
     49get_sector(dev_t dev, uint32_t sector_num, sector_data_t **sector)
    5050{
    5151    sector_data_t      *s;
     
    9393 */
    9494static rtems_boolean
    95 msdos_signature_check (sector_data_t *sector) 
     95msdos_signature_check (sector_data_t *sector)
    9696{
    9797    uint8_t *p = sector->data + RTEMS_IDE_PARTITION_MSDOS_SIGNATURE_OFFSET;
     
    113113 */
    114114static rtems_boolean
    115 is_extended(uint8_t type) 
     115is_extended(uint8_t type)
    116116{
    117117    return ((type == EXTENDED_PARTITION) || (type == LINUX_EXTENDED));
     
    129129 */
    130130static rtems_boolean
    131 is_fat_partition(uint8_t type) 
     131is_fat_partition(uint8_t type)
    132132{
    133133  static const uint8_t fat_part_types[] = {
     
    187187
    188188    /*
    189      * use partitions that are 
     189     * use partitions that are
    190190     * - extended
    191191     * or
     
    196196      *new_part_desc = part_desc;
    197197    }
    198     else { 
     198    else {
    199199      /* empty partition */
    200200      free(part_desc);
     
    210210 *
    211211 * PARAMETERS:
    212  *      start    - start sector of primary extended partition, used for 
     212 *      start    - start sector of primary extended partition, used for
    213213 *                 calculation of absolute partition sector address
    214214 *      ext_part - description of extended partition to process
     
    220220 */
    221221static rtems_status_code
    222 read_extended_partition(uint32_t start, part_desc_t *ext_part) 
     222read_extended_partition(uint32_t start, part_desc_t *ext_part)
    223223{
    224224    int                 i;
     
    257257    data = sector->data + RTEMS_IDE_PARTITION_TABLE_OFFSET;
    258258
    259     for (i = 0; i < RTEMS_IDE_PARTITION_MAX_SUB_PARTITION_NUMBER; i++) 
     259    for (i = 0; i < RTEMS_IDE_PARTITION_MAX_SUB_PARTITION_NUMBER; i++)
    260260    {
    261261        /* if data_to_part_desc fails skip this partition
     
    279279        new_part_desc->disk_desc = ext_part->disk_desc;
    280280
    281         if (is_extended(new_part_desc->sys_type)) 
     281        if (is_extended(new_part_desc->sys_type))
    282282        {
    283283            new_part_desc->log_id = EMPTY_PARTITION;
    284284            new_part_desc->start += start;
    285             read_extended_partition(start, new_part_desc); 
    286         }
    287         else 
     285            read_extended_partition(start, new_part_desc);
     286        }
     287        else
    288288        {
    289289            disk_desc_t *disk_desc = new_part_desc->disk_desc;
     
    315315 */
    316316static rtems_status_code
    317 read_mbr(disk_desc_t *disk_desc) 
     317read_mbr(disk_desc_t *disk_desc)
    318318{
    319319    int                 part_num;
     
    352352        }
    353353
    354         if (part_desc != NULL) 
     354        if (part_desc != NULL)
    355355        {
    356356            part_desc->log_id = part_num + 1;
     
    358358            part_desc->end = part_desc->start + part_desc->size - 1;
    359359            disk_desc->partitions[part_num] = part_desc;
    360         } 
     360        }
    361361        else
    362362        {
Note: See TracChangeset for help on using the changeset viewer.