Changeset 84239b1 in mainline for uspace/lib/c


Ignore:
Timestamp:
2018-03-11T19:39:11Z (7 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f3d47c97
Parents:
850fd32
Message:

And there was much fixing.

Location:
uspace/lib/c/generic
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/device/hw_res_parsed.c

    r850fd32 r84239b1  
    167167                        size_t s_size;
    168168
    169                         s_address = RNGABS(out->mem_ranges.ranges[i]);;
     169                        s_address = RNGABS(out->mem_ranges.ranges[i]);
    170170                        s_size = RNGSZ(out->mem_ranges.ranges[i]);
    171171
     
    237237
    238238        return EOK;
    239 };
     239}
    240240
    241241/** Get hw_resources from the parent device.
     
    279279
    280280        return rc;
    281 };
     281}
    282282
    283283/** @}
  • uspace/lib/c/generic/io/printf_core.c

    r850fd32 r84239b1  
    15171517                                counter += retval;
    15181518                                j = nxt;
    1519                                 goto next_char;
     1519                                continue;
    15201520                        case 'c':
    15211521                                if (qualifier == PrintfQualifierLong)
     
    15271527                                        counter = -counter;
    15281528                                        goto out;
    1529                                 };
     1529                                }
    15301530
    15311531                                counter += retval;
    15321532                                j = nxt;
    1533                                 goto next_char;
     1533                                continue;
    15341534
    15351535                        /*
     
    15521552                                counter += retval;
    15531553                                j = nxt;
    1554                                 goto next_char;
     1554                                continue;
    15551555
    15561556                        /*
     
    15891589                        case '%':
    15901590                                j = i;
    1591                                 goto next_char;
     1591                                continue;
    15921592
    15931593                        /*
     
    15991599                                 * so we will print whole bad format sequence.
    16001600                                 */
    1601                                 goto next_char;
     1601                                continue;
    16021602                        }
    16031603
     
    16551655                        j = nxt;
    16561656                }
    1657 next_char:
    1658                 ;
    16591657        }
    16601658
Note: See TracChangeset for help on using the changeset viewer.