Linking fails on ubuntu 22.04 because of multiple definitions of the `fff` global, which is defined by `DEFINE_FFF_GLOBALS`. Only define it in the tests' `main.c` instead of the mocks. Signed-off-by: Jonathan Rico <jonathan.rico@nordicsemi.no>
11 lines
199 B
C
11 lines
199 B
C
/*
|
|
* Copyright (c) 2022 Nordic Semiconductor ASA
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#include <zephyr/kernel.h>
|
|
#include "mocks/id.h"
|
|
|
|
DEFINE_FAKE_VOID_FUNC(bt_id_del, struct bt_keys *);
|