Changeset 81b1db8 in mainline for uspace/app/mkexfat/mkexfat.c


Ignore:
Timestamp:
2018-03-26T15:26:27Z (7 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
41bbab6
Parents:
fd57745c
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-03-26 15:21:43)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-03-26 15:26:27)
Message:

Avoid using standard C function names for local functions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/mkexfat/mkexfat.c

    rfd57745c r81b1db8  
    104104} exfat_cfg_t;
    105105
    106 static unsigned log2(unsigned n);
     106static unsigned log2i(unsigned n);
    107107
    108108static uint32_t
     
    270270        mbs->version.minor = 0;
    271271        mbs->volume_flags = host2uint16_t_le(0);
    272         mbs->bytes_per_sector = log2(cfg->sector_size);
    273         mbs->sec_per_cluster = log2(cfg->cluster_size / cfg->sector_size);
     272        mbs->bytes_per_sector = log2i(cfg->sector_size);
     273        mbs->sec_per_cluster = log2i(cfg->cluster_size / cfg->sector_size);
    274274
    275275        /* Maximum cluster size is 32 Mb */
     
    676676 */
    677677static unsigned
    678 log2(unsigned n)
     678log2i(unsigned n)
    679679{
    680680        unsigned r;
Note: See TracChangeset for help on using the changeset viewer.