Changeset 805552d in mainline
- Timestamp:
- 2017-05-11T18:04:42Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 02082f3
- Parents:
- 71fe4723
- Location:
- uspace
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/ohci/hw_struct/hcca.h
r71fe4723 r805552d 40 40 #include <sys/types.h> 41 41 #include <macros.h> 42 #include <assert.h> 42 43 43 44 #include "mem_access.h" … … 60 61 } hcca_t; 61 62 62 STATIC_ASSERT(sizeof(hcca_t) == 256);63 static_assert(sizeof(hcca_t) == 256); 63 64 64 65 /** Allocate properly aligned structure. -
uspace/lib/c/include/macros.h
r71fe4723 r805552d 69 69 #define PADD8 _padd(8, __LINE__) 70 70 71 #define STATIC_ASSERT(cond) int sassert[(cond) ? 1 : -1]72 73 71 /** @} 74 72 */
Note:
See TracChangeset
for help on using the changeset viewer.