Ignore:
File:
1 edited

Legend:

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

    rf3504c1 rcde999a  
    4343#include <assert.h>
    4444#include <errno.h>
    45 #include <malloc.h>
     45#include <stdlib.h>
    4646#include <byteorder.h>
    4747#include <align.h>
     
    344344 * @param cfg  Pointer to the exFAT configuration structure.
    345345 * @param base Base sector of the EBS.
    346  * @return  EOK on success or a negative error code.
     346 * @return  EOK on success or an error code.
    347347 */
    348348static int
     
    351351{
    352352        uint32_t *ebs = calloc(cfg->sector_size, sizeof(uint8_t));
    353         int i, rc;
     353        int i;
     354        int rc;
    354355
    355356        if (!ebs)
     
    396397 * @param service_id  The service id.
    397398 * @param cfg Pointer to the exfat_cfg structure.
    398  * @return EOK on success or a negative error code.
     399 * @return EOK on success or an error code.
    399400 */
    400401static int
     
    436437 * @param cur_cls  Cluster index from where to start the allocation.
    437438 * @param ncls  Number of clusters to allocate.
    438  * @return EOK on success or a negative error code.
     439 * @return EOK on success or an error code.
    439440 */
    440441static int
     
    493494 * @param service_id   The service id.
    494495 * @param cfg  Pointer to the exfat configuration structure.
    495  * @return  EOK on success or a negative error code.
     496 * @return  EOK on success or an error code.
    496497 */
    497498static int
     
    592593 * @param service_id   The service id.
    593594 * @param cfg   Pointer to the exFAT configuration structure.
    594  * @return   EOK on success or a negative error code.
     595 * @return   EOK on success or an error code.
    595596 */
    596597static int
     
    757758        char *dev_path;
    758759        service_id_t service_id;
    759         int rc, c, opt_ind;
     760        int rc;
     761        int c, opt_ind;
    760762        aoff64_t user_fs_size = 0;
    761763
Note: See TracChangeset for help on using the changeset viewer.