Changeset 013e5d32 in mainline for uspace/lib/bithenge/src/transform.c


Ignore:
Timestamp:
2018-03-19T20:35:27Z (6 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6d1d143
Parents:
973be387
Message:

More cstyle-related fixes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/bithenge/src/transform.c

    r973be387 r013e5d32  
    879879        *out = 8;
    880880        return EOK;
     881}
     882
     883static uint8_t uint8_t_identity(uint8_t arg)
     884{
     885        return arg;
    881886}
    882887
     
    914919        }
    915920
    916 MAKE_UINT_TRANSFORM(uint8   , uint8_t ,                 , prefix_length_1);
     921MAKE_UINT_TRANSFORM(uint8   , uint8_t,  uint8_t_identity, prefix_length_1);
    917922MAKE_UINT_TRANSFORM(uint16le, uint16_t, uint16_t_le2host, prefix_length_2);
    918923MAKE_UINT_TRANSFORM(uint16be, uint16_t, uint16_t_be2host, prefix_length_2);
Note: See TracChangeset for help on using the changeset viewer.