Changeset a5a73c0 in mainline for uspace/lib/c/include/macros.h


Ignore:
Timestamp:
2012-10-15T19:50:53Z (12 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
71d09d6e
Parents:
52fc805
Message:

rootamdm37x: Use PADD macro.

remove count parameter.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/include/macros.h

    r52fc805 ra5a73c0  
    6262#define _paddname(line) PADD_ ## line ## __
    6363#define _padd(width, line) uint ## width ## _t _paddname(line)
    64 #define PADD32(count) _padd(32, __LINE__)[count]
    65 #define PADD16(count) _padd(16, __LINE__)[count]
    66 #define PADD8(count) _padd(8, __LINE__)[count]
     64#define PADD32 _padd(32, __LINE__)
     65#define PADD16 _padd(16, __LINE__)
     66#define PADD8 _padd(8, __LINE__)
    6767
    6868/** @}
Note: See TracChangeset for help on using the changeset viewer.