Changeset 7f1c620 in mainline for generic/src/lib/func.c


Ignore:
Timestamp:
2006-07-04T17:17:56Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0ffa3ef5
Parents:
991779c5
Message:

Replace old u?? types with respective C99 variants (e.g. uint32_t, int64_t, uintptr_t etc.).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • generic/src/lib/func.c

    r991779c5 r7f1c620  
    149149}
    150150
    151 /** Convert ascii representation to __native
     151/** Convert ascii representation to unative_t
    152152 *
    153153 * Supports 0x for hexa & 0 for octal notation.
     
    157157 * @return Converted number or 0 if no valid number ofund
    158158 */
    159 __native atoi(const char *text)
     159unative_t atoi(const char *text)
    160160{
    161161        int base = 10;
    162         __native result = 0;
     162        unative_t result = 0;
    163163
    164164        if (text[0] == '0' && text[1] == 'x') {
Note: See TracChangeset for help on using the changeset viewer.