Changeset 90c340fb in mainline for uspace/lib/drv/generic/remote_usb.c


Ignore:
Timestamp:
2017-10-26T23:44:55Z (6 years ago)
Author:
jzr <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
37e8c4a
Parents:
e4c8e3cf
Message:

Convert two "old style" static asserts.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/drv/generic/remote_usb.c

    re4c8e3cf r90c340fb  
    3535
    3636#include <async.h>
     37#include <assert.h>
    3738#include <macros.h>
    3839#include <errno.h>
     
    169170}
    170171
    171 int static_assert[sizeof(sysarg_t) >= 4 ? 1 : -1];
     172static_assert(sizeof(sysarg_t) >= 4);
     173
    172174typedef union {
    173175        uint8_t arr[sizeof(sysarg_t)];
Note: See TracChangeset for help on using the changeset viewer.