Changeset aa2ea13 in mainline


Ignore:
Timestamp:
2011-04-30T11:50:30Z (13 years ago)
Author:
Oleg Romanenko <romanenko.oleg@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0a51029f
Parents:
875edff6
Message:

Breaking long lines at 80-character boundary

Location:
uspace/srv/fs/fat
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/fs/fat/fat_fat.c

    r875edff6 raa2ea13  
    787787                 * set to one.
    788788                 */
    789                 if (!FAT_IS_FAT12(bs) && ((e0 >> 8) != (FAT_MASK(bs) >> 8) || e1 != FAT_MASK(bs)))
     789                if (!FAT_IS_FAT12(bs) &&
     790                        ((e0 >> 8) != (FAT_MASK(bs) >> 8) || e1 != FAT_MASK(bs)))
    790791                        return ENOTSUP;
    791792        }
  • uspace/srv/fs/fat/fat_fat.h

    r875edff6 raa2ea13  
    5454#define FAT32_CLST_LAST8  0x0fffffff
    5555
    56 #define FAT12_MASK                0x0fff
    57 #define FAT16_MASK                0xffff
    58 #define FAT32_MASK                0x0fffffff
     56#define FAT12_MASK        0x0fff
     57#define FAT16_MASK        0xffff
     58#define FAT32_MASK        0x0fffffff
    5959
    6060#define FAT12_CLST_MAX    4085
     
    8787
    8888#define FAT_CLST_LAST1(bs) \
    89     (FAT_IS_FAT12(bs) ? FAT12_CLST_LAST1 : (FAT_IS_FAT32(bs) ? FAT32_CLST_LAST1 : FAT16_CLST_LAST1))
     89    (FAT_IS_FAT12(bs) ? FAT12_CLST_LAST1 : \
     90    (FAT_IS_FAT32(bs) ? FAT32_CLST_LAST1 : FAT16_CLST_LAST1))
    9091#define FAT_CLST_LAST8(bs) \
    91     (FAT_IS_FAT12(bs) ? FAT12_CLST_LAST8 : (FAT_IS_FAT32(bs) ? FAT32_CLST_LAST8 : FAT16_CLST_LAST8))
     92    (FAT_IS_FAT12(bs) ? FAT12_CLST_LAST8 : \
     93    (FAT_IS_FAT32(bs) ? FAT32_CLST_LAST8 : FAT16_CLST_LAST8))
    9294#define FAT_CLST_BAD(bs) \
    93     (FAT_IS_FAT12(bs) ? FAT12_CLST_BAD : (FAT_IS_FAT32(bs) ? FAT32_CLST_BAD : FAT16_CLST_BAD))
     95    (FAT_IS_FAT12(bs) ? FAT12_CLST_BAD : \
     96    (FAT_IS_FAT32(bs) ? FAT32_CLST_BAD : FAT16_CLST_BAD))
    9497
    95 #define FAT_CLST_SIZE(bs)       (FAT_IS_FAT32(bs) ? FAT32_CLST_SIZE : FAT16_CLST_SIZE)
     98#define FAT_CLST_SIZE(bs) \
     99    (FAT_IS_FAT32(bs) ? FAT32_CLST_SIZE : FAT16_CLST_SIZE)
    96100
    97101#define FAT_MASK(bs) \
    98     (FAT_IS_FAT12(bs) ? FAT12_MASK : (FAT_IS_FAT32(bs) ? FAT32_MASK : FAT16_MASK))
     102    (FAT_IS_FAT12(bs) ? FAT12_MASK : \
     103    (FAT_IS_FAT32(bs) ? FAT32_MASK : FAT16_MASK))
    99104
    100105/* forward declarations */
Note: See TracChangeset for help on using the changeset viewer.