tests/sys_atomic_utils: update to new API

The signature typedefs need to be updated to also include the return value.
The test is not otherwise changed.
This commit is contained in:
Marian Buschsieweke 2020-12-15 18:22:00 +01:00
parent 1893377b59
commit 2208c6a375
No known key found for this signature in database
GPG Key ID: 61F64C6599B1539F

View File

@ -47,10 +47,10 @@ typedef enum {
TEST_WIDTH_NUMOF
} test_width_t;
typedef void (*fetch_op_u8_t)(volatile uint8_t *dest, uint8_t val);
typedef void (*fetch_op_u16_t)(volatile uint16_t *dest, uint16_t val);
typedef void (*fetch_op_u32_t)(volatile uint32_t *dest, uint32_t val);
typedef void (*fetch_op_u64_t)(volatile uint64_t *dest, uint64_t val);
typedef uint8_t (*fetch_op_u8_t)(volatile uint8_t *dest, uint8_t val);
typedef uint16_t (*fetch_op_u16_t)(volatile uint16_t *dest, uint16_t val);
typedef uint32_t (*fetch_op_u32_t)(volatile uint32_t *dest, uint32_t val);
typedef uint64_t (*fetch_op_u64_t)(volatile uint64_t *dest, uint64_t val);
typedef struct {
const char *name;